From: MenTaLguY Date: 2008-03-12T00:22:48+09:00 Subject: Re: [PATCH] timeouts for ConditionVariable#wait --=-SetiChJKEDOPV5LEJXDk Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2008-03-11 at 12:56 +0900, MenTaLguY wrote: > This is also likely the reason that Mutex#sleep was written the way it > was, since it is used as the basis for Ruby 1.9 condition variables. Nobu, I see now that you're the author of Mutex#sleep. Would you object to a version of ConditionVariable#wait which followed the behavior of Mutex#sleep, but did not raise TimeoutError? (Perhaps it could return the result of Mutex#sleep, or a boolean, so that the caller can determine whether a timeout occurred.) -mental --=-SetiChJKEDOPV5LEJXDk Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBH1qNVEpMFVe94r24RAu6RAJ4gVacmtj04exbGPl8bxdN/ta2b3QCff2Cn EmV2qqUXqtr6gRKPC6+06FY= =KtDs -----END PGP SIGNATURE----- --=-SetiChJKEDOPV5LEJXDk--