Creates a locked queue with an initial capacity.
A destructor is present on this object, but not explicitly documented in the source.
A postblit is present on this object, but not explicitly documented in the source.
Removes all locked queue items.
Pop an item from the back, block if queue is empty.
Pop an item from the front, block if queue is empty.
Push an item to the back, block if queue is full.
Push an item to the front, block if queue is full.
Tries to pop an item from the back immediately. Returns: true if an item was returned, false if the queue is empty.
Tries to pop an item from the front immediately. Returns: true if an item was returned, false if the queue is empty.
Locked queue for inter-thread communication. Support multiple writers, multiple readers. Blocks threads either when empty or full. @nogc once in use.