Remove all items currently in this queue.
Synopsis
Declared in <bdlcc_singleconsumerqueueimpl.h>
void
removeAll();
Description
Note that this operation is not atomic; if other threads are concurrently pushing items into the queue the result of numElements() after this function returns is not guaranteed to be 0. The behavior is undefined unless the invoker of this method is the single consumer.
Created with MrDocs