Inner workings of turnstiles and sleepqueues



Hello,

I asked the following question on questions@, but as requested, I'll
forward this question to this list, because of its technical nature.

----- Forwarded message from Ed Schouten <ed@xxxxxx> -----
Date: Mon, 15 Oct 2007 23:13:01 +0200
From: Ed Schouten <ed@xxxxxx>
To: freebsd-questions@xxxxxxxxxxx
Subject: Inner workings of turnstiles and sleepqueues

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.

----- End forwarded message -----

Yours,
--
Ed Schouten <ed@xxxxxx>
WWW: http://g-rave.nl/

Attachment: pgpBrqHOgpyrj.pgp
Description: PGP signature



Relevant Pages