From: MenTaLguY Date: 2008-02-21T06:36:15+09:00 Subject: Re: Ruby 1.9, threads and FreeBSD 5 On Thu, 21 Feb 2008 05:59:57 +0900, Eric Jacoboni wrote: > Thanks to Guy for the sleep trick and for your PortableSemaphore > implementation: i'm gonna investigate it further. Please note that you shouldn't ever use the sleep trick in production code -- it merely hides problems during testing when they can still occur under production load. (I emphasize this, because the sleep trick seems to be fairly popular as an "easy fix"; even I'm guilty of using it a lot in the past...) -mental