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

Name

Description

numExecuted

receives the number of items dequeued

numEnqueued

receives the number of items enqueued

numDeleted

if non‐null, receives the number of items deleted

Created with MrDocs