Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > How to wait with timeout on conditional variable in ruby 1.9

Reply
Thread Tools

How to wait with timeout on conditional variable in ruby 1.9

 
 
Sharat Mohan
Guest
Posts: n/a
 
      02-13-2009
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/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
How To Get JavaScript Conditional Statement To Wait for XMLHTTPResponse? pbd22 Javascript 3 12-03-2008 09:19 PM
? ELSE Conditional Comment / Using Conditional Comments Inside Other Tags To Comment Out Attributes Alec S. HTML 10 04-16-2005 02:21 AM
Timeout::timeout and Socket timeout Mark Probert Ruby 1 10-06-2004 09:30 AM
How to make "fork/wait" to WAIT longer? Huey C Programming 1 03-01-2004 02:01 PM



Advertisments