= private = protected
new()
Creates a new queue.
# File lib/thread.rb, line 144 def initialize @que = [] @waiting = [] @que.taint # enable tainted communication @waiting.taint self.taint @mutex = Mutex.new end