From: MenTaLguY Date: 2006-11-17T04:14:34+09:00 Subject: Re: fast mutexes for 1.8? --=-ZGlKf5/oKNh7qtH19Tkn Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2006-11-15 at 03:56 +0900, khaines@enigo.com wrote: > This is essentially what the current Mutex class does. Waiting threads g= o=20 > into an array that is used as a queue. As new threads go into one end of= =20 > the queue, threads are removed from the other end. Yeah, but just wakes the thread and leaves it to fend for itself. The thread taken from the end of the queue isn't _guaranteed_ to get the lock. -mental --=-ZGlKf5/oKNh7qtH19Tkn Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBFXLiVSuZBmZzm14ERAt5DAKCrU+8c2/G1s3glesLzI7i9lA/wbACeNc3q j/zfuYDEnBIqAqGDgUfBZ7o= =gY1L -----END PGP SIGNATURE----- --=-ZGlKf5/oKNh7qtH19Tkn--