Remove all items currently in this queue. 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.

Synopsis

Declared in <bdlcc_singleconsumerqueue.h>

void
removeAll();

Created with MrDocs