BloombergLP::bdlmt::MultiQueueThreadPool_Queue::waitWhilePausing

Wait until any currently-executing job on the queue completes and the queue is paused. Note that pausing differs from disable in that (1) pause stops processing for a queue, and (2) does not prevent additional jobs from being enqueued. The behavior of this method is undefined unless it is invoked after a successful initiatePause invocation.

Synopsis

Declared in <bdlmt_multiqueuethreadpool.h>

void
waitWhilePausing();