From: MenTaLguY Date: 2007-11-07T05:48:31+09:00 Subject: Re: Changing date backward messes up threaded sleep On Wed, 7 Nov 2007 05:23:46 +0900, Gary Wright wrote: > Ruby's sleep actually is a request to the thread scheduler to > stop the current thread until the system clock has reached > (now + delay). So if you move the clock backwards, it will take > that much longer to reach (now + delay). If you move the clock > forwards then the thread becomes runnable immediately. I think this is arguably a bug in the scheduler, but it is not easy to remedy in a portable way. -mental