lkwt in DragonFly

David Xu davidxu at viatech.com.cn
Sun Feb 8 18:31:19 PST 2004


Matthew Dillon wrote:
    I think I rambled on there.  Please feel free to ask additional 
    questions!

Your explanation is interesting, I am sorry that I am new to DFly,
but if two threads on same CPU wants to exclusivly access a data 
structure, what lock should be used ? does token still work ? on
FreeBSD, one can use mutex, but token is holden by CPU on DFly not by 
thread, so a thread really does not know if it already held the lock
or not, although its CPU already hold the token.

						-Matt
David Xu






More information about the Kernel mailing list