From: Nasir Khan Date: 2009-03-06T02:54:12+09:00 Subject: [ruby-core:22685] 1.9 conditional wait has no timeout support --001636920095395a9f046462e07a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit In ruby 1.8 we could use - condition.wait(sec) But with moving to 1.9, it raises exception "Timeout is not yet implemented" in monitor.rb code snippet from monitor.rb def wait(timeout = nil) if timeout raise NotImplementedError, "timeout is not implemented yet" end ...... end Will this be addressed in any near future. I dont think we can have a workaround for this, any program using conditional variables would not work on 1.9 today, any guidance will be greatly appreciated. regards nasir --001636920095395a9f046462e07a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

In ruby 1.8 we could use=A0-
=A0condition.wait(sec)

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

code snippet from monitor.rb

def wait(timeout =3D nil)
=A0=A0=A0=A0=A0 if timeout
=A0=A0=A0= =A0=A0=A0=A0 raise NotImplementedError, "timeout is not implemented ye= t"
=A0=A0=A0=A0=A0 end
=A0=A0=A0=A0 ......
end
=A0
Will this be addressed in any near future. I dont think we can have a = workaround for this, any program using conditional variables would not work= on 1.9 today, any guidance will be greatly appreciated.
=A0
regards
nasir
--001636920095395a9f046462e07a--