Object
# File lib/cinch/rubyext/queue.rb, line 3 def unshift(obj) t = nil @mutex.synchronize{ @que.unshift obj begin t = @waiting.shift t.wakeup if t rescue ThreadError retry end } begin t.run if t rescue ThreadError end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.