deleteQueue overloads

Synopses

Declared in <bdlmt_multiqueuethreadpool.h>

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

int
deleteQueue(int id);

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

int
deleteQueue(
    int id,
    CleanupFunctor const& cleanupFunctor);

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

id

queue identifier

cleanupFunctor

functor invoked immediately before queue deletion

Created with MrDocs