How to wait with timeout on conditional variable in ruby 1.9

Discussion in 'Ruby' started by Sharat Mohan, Feb 13, 2009.

  1. Sharat Mohan

    Sharat Mohan Guest

    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/.
     
    Sharat Mohan, Feb 13, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alec S.
    Replies:
    10
    Views:
    10,226
    Alec S.
    Apr 16, 2005
  2. Huey

    How to make "fork/wait" to WAIT longer?

    Huey, Mar 1, 2004, in forum: C Programming
    Replies:
    1
    Views:
    1,979
    -berlin.de
    Mar 1, 2004
  3. Mark Probert

    Timeout::timeout and Socket timeout

    Mark Probert, Oct 6, 2004, in forum: Ruby
    Replies:
    1
    Views:
    1,306
    Brian Candler
    Oct 6, 2004
  4. vishnu
    Replies:
    0
    Views:
    376
    vishnu
    May 31, 2006
  5. pbd22
    Replies:
    3
    Views:
    182
    David Mark
    Dec 3, 2008
Loading...

Share This Page