From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 16 09:41:19 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC37916A418 for ; Tue, 16 Oct 2007 09:41:19 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id 8943A13C467 for ; Tue, 16 Oct 2007 09:41:19 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id A05DD1CE60; Tue, 16 Oct 2007 11:41:18 +0200 (CEST) Date: Tue, 16 Oct 2007 11:41:18 +0200 From: Ed Schouten To: FreeBSD Hackers Message-ID: <20071016094118.GE5411@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dEhLd0jN5MocHkcT" Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Inner workings of turnstiles and sleepqueues X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Hackers List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2007 09:41:19 -0000 --dEhLd0jN5MocHkcT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 ----- > Date: Mon, 15 Oct 2007 23:13:01 +0200 > From: Ed Schouten > To: freebsd-questions@freebsd.org > Subject: Inner workings of turnstiles and sleepqueues >=20 > Hello, >=20 > 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. >=20 > 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. >=20 ----- End forwarded message ----- Yours, --=20 Ed Schouten WWW: http://g-rave.nl/ --dEhLd0jN5MocHkcT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHFIc+52SDGA2eCwURAmXnAJwOZl1i+rcy/jj+v98o7XYIObWKTgCfRTf+ 2EDXuaUD95QbMNVijGEgtss= =MsK1 -----END PGP SIGNATURE----- --dEhLd0jN5MocHkcT--