A thread-safe FIFO queue of T.
Create an empty queue with its own mutex.
Atomically remove and return all queued items, in insertion order.
Whether the queue currently holds no items.
Append an item. Safe to call from any thread.
See Implementation
A thread-safe FIFO queue of T.