BloombergLP::bdlmt::MultiQueueThreadPool::numElements

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.

Synopsis

Declared in <bdlmt_multiqueuethreadpool.h>

int
numElements(int id) const;