From: Hongli Lai Date: 2009-03-19T03:42:19+09:00 Subject: [ruby-core:22932] Re: 1.9 conditional wait has no timeout support Nasir Khan wrote: > Dear Esteemed core members, > > Any comment or any update on the issue below will be greatly > appreciated. I must say that IMHO without this feature 1.9 will remain > unusable for most multi-threaded programs requiring timer like behavior. > > Regards > Nasir Agreed, timed wait is a very important feature. In the mean time, Phusion Passenger implements this by using Timeout#timeout, but it's very hacky. It happens to work in MRI 1.8 and 1.9 but I have a feeling that it won't always stay that way. http://github.com/FooBarWidget/passenger/blob/4e57c4f2ce47e11a860ca503c7602efaffb65d89/lib/phusion_passenger/utils.rb#L369