BloombergLP::bdlmt::MultiQueueThreadPool::deleteQueue

deleteQueue overloads

Synopses

Declared in <bdlmt_multiqueuethreadpool.h>

Delete the queue with the specified id after its current job finishes.

int
deleteQueue(int id);
» more...

Delete the queue with the specified id, running cleanupFunctor last.

int
deleteQueue(
    int id,
    CleanupFunctor const& cleanupFunctor);
» more...

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
idqueue identifier
cleanupFunctorfunctor invoked immediately before queue deletion