BloombergLP::bdlmt::MultiQueueThreadPool::numProcessed

Load processed item counts into the output parameters.

Synopsis

Declared in <bdlmt_multiqueuethreadpool.h>

void
numProcessed(
    int* numExecuted,
    int* numEnqueued,
    int* numDeleted = 0) const;

Description

Load into numExecuted and numEnqueued the processed item counts.

Load into the specified numExecuted and numEnqueued the number of items dequeued / enqueued (respectively) since the last time these values were reset. Optionally specify a numDeleted used to load into the number of items deleted since the last time this value was reset.

Parameters

NameDescription
numExecutedreceives the number of items dequeued
numEnqueuedreceives the number of items enqueued
numDeletedif non-null, receives the number of items deleted