Date: Wed, 17 Oct 2007 09:16:18 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-hackers@freebsd.org Cc: Ed Schouten <ed@fxq.nl> Subject: Re: Inner workings of turnstiles and sleepqueues Message-ID: <200710170916.18788.jhb@freebsd.org> In-Reply-To: <20071016094118.GE5411@hoeg.nl> References: <20071016094118.GE5411@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 16 October 2007 05:41:18 am Ed Schouten wrote: > 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@fxq.nl> ----- > > Date: Mon, 15 Oct 2007 23:13:01 +0200 > > From: Ed Schouten <ed@fxq.nl> > > To: freebsd-questions@freebsd.org > > 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. The best option right now is to read the code. There are some comments in both the headers and implementation. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710170916.18788.jhb>