summaryrefslogtreecommitdiff
path: root/lib/rbot/compat19.rb
AgeCommit message (Collapse)Author
2013-11-02ruby 2.0.0: fix for changed @waiters in compat19Matthias H
I don't really know what this is all about, but this fixes a bug with the compat19 monkeypatching. @waiters is now a Hash. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=38109&view=revision
2010-09-30compat19: fix condition monitor waitingGiuseppe Bilotta
When timing out during a wait, return false instead of raising. This fixes a problem with TimeoutError being raised during restarts on ruby 1.9.x
2009-08-26ruby 1.9: monkeypatch MonitorMixin and ConditionVariablefranz
ruby 1.9's ConditionVariable#wait is not implemented for timeout != nil, this patch adds an implementation for it (see ruby-core:15847) Also, since MonitorMixin is included into TCPSocket in rbot, and TCPSocket#send != Object#send in ruby 1.9, i changed that to use __send__.