From: Caleb Clausen Date: 2009-05-29T02:56:31+09:00 Subject: Re: Running code at a certain time? On 5/28/09, Charles Oliver Nutter wrote: > Caleb Clausen wrote: >> Timeout uses Thread#raise, which I think is not reliable on JRuby or >> other implementations that use native threads. > > It should be reliable, and in fact we reimplemented Timeout in Java to > reduce the cost almost down to zero. I don't like that things like raise > and kill and Timeout are used, but we've made sure they work well when > they are. I thought you'd made some long blog post proving how it's impossible to Thread#raise perfectly reliably in JRuby. I may be confused. I'm glad to hear that it does work and I apologize for spreading misinformation.