Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2007 11:23:05 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Jason Evans <jasone@freebsd.org>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Inner workings of turnstiles and sleepqueues
Message-ID:  <47150189.90403@elischer.org>
In-Reply-To: <4714F8A2.5050406@freebsd.org>
References:  <20071016094118.GE5411@hoeg.nl> <4714F8A2.5050406@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jason Evans wrote:
> Ed Schouten wrote:
>> 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

sleepqueues and turnstiles are relatively new.

they may have come in since 5.2 (which is what the book was based on I think).

>> opinion.
> 
> You might take a look at _Solaris Internals_ by Mauro and McDougall.
> 
> Jason
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47150189.90403>