Object
Taken from redmine.ruby-lang.org/repositories/entry/ruby-19/lib/thread.rb
# File lib/god/compat19.rb, line 23 def wait(mutex, timeout=nil) begin # TODO: mutex should not be used @waiters_mutex.synchronize do @waiters.push(Thread.current) end mutex.sleep timeout end self end
[Validate]
Generated with the Darkfish Rdoc Generator 2.