BloombergLP::bdlmt::FixedThreadPool::stop

Disable enqueuing, wait for jobs to complete, and join worker threads.

Synopsis

Declared in <bdlmt_fixedthreadpool.h>

void
stop();

Description

Disable enqueuing jobs on this thread pool, wait until all active and pending jobs complete, and join all processing threads. If the thread pool was not already started (isStarted() is false), this method has no effect. At the completion of this method, false == isStarted().