Inner workings of turnstiles and sleepqueues

Ed Schouten ed at fxq.nl
Mon Oct 15 14:13:04 PDT 2007


Hello,

For some reason, I want to understand how the queueing of blocked
threads in the kernel works when waiting for a lock, which is if I
understand correctly done by the turnstiles and sleepqueues. I'm the
proud owner of The Design and Implementation of the FreeBSD Operating
System book, but for some reason, I can't find anything about it in the
book.

Is there a way to obtain information about how they work? I already read
the source somewhat, but that shouldn't be an ideal solution, in my
opinion.

Yours,
-- 
 Ed Schouten <ed at fxq.nl>
 WWW: http://g-rave.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20071015/1d14b2ea/attachment.pgp


More information about the freebsd-questions mailing list