BloombergLP::bdlcc::BoundedQueue::removeAll

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.

Synopsis

Declared in <bdlcc_boundedqueue.h>

void
removeAll();