BloombergLP::bdlmt::MultiQueueThreadPool::numElements

numElements overloads

Synopses

Declared in <bdlmt_multiqueuethreadpool.h>

Return an instantaneous snapshot of the total number of elements enqueued.

int
numElements() const;
» more...

Return an instantaneous snapshot of the number of elements enqueued in the queue associated with the specified id as a non-negative integer, or -1 if id does not specify a valid queue.

int
numElements(int id) const;
» more...