new

$

q

 
= new Thread::Queue

Creates a new empty queue. Returns an object representing the queue.