Disable queuing and stop the owned thread pool once queues drain.

Synopsis

Declared in <bdlmt_multiqueuethreadpool.h>

void
stop();

Description

Disable queuing on all queues and wait until all non‐paused queues are empty. Then, stop the thread pool if the thread pool is owned by this object. Note that stop does not attempt to delete queues directly. However, as a side‐effect of emptying all queues, any queue for which deleteQueue was called previously will be deleted before stop unblocks.

Created with MrDocs