Reset and return processed/enqueued/deleted counts.

Synopsis

Declared in <bdlmt_multiqueuethreadpool.h>

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

Description

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

Parameters

Name

Description

numExecuted

receives the number of items dequeued, then reset

numEnqueued

receives the number of items enqueued, then reset

numDeleted

if non‐null, receives the number of items deleted, then reset

Created with MrDocs