= private = protected
push(obj)
Pushes obj to the queue.
# File lib/thread.rb, line 277 def push(obj) Thread.critical = true @que.push obj begin t = @waiting.shift t.wakeup if t rescue ThreadError retry ensure Thread.critical = false end begin t.run if t rescue ThreadError end end