Lock-free queue for multiple producers and one consumer.
new ()
Creates a new instance.
pop ():T
Removes the first element out of queue and returns it.
Returns:
The first element in the queue.
push (val:T):Void
Adds new element to the end of queue.
Parameters:
val
Element to add.