= private = protected
push(obj)
Pushes obj to the queue.
# File lib/thread.rb, line 146 def push(obj) t = nil @mutex.synchronize{ @que.push obj begin t = @waiting.shift t.wakeup if t rescue ThreadError retry end } begin t.run if t rescue ThreadError end end