Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Ruby (http://www.velocityreviews.com/forums/f66-ruby.html)
-   -   How to wait with timeout on conditional variable in ruby 1.9 (http://www.velocityreviews.com/forums/t855840-how-to-wait-with-timeout-on-conditional-variable-in-ruby-1-9-a.html)

Sharat Mohan 02-13-2009 01:24 PM

How to wait with timeout on conditional variable in ruby 1.9
 
Earlier in ruby 1.8 we could use code
cond.wait(3)

But with moving to 1.9, it raises exception " Timeout is not yet
implemented" in monitor.rb

Any plan to implement it in near future or is there any work around.

Regards
Sharat
--
Posted via http://www.ruby-forum.com/.



All times are GMT. The time now is 08:47 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.