BloombergLP::bdlmt::ThreadPool::start

Enable queuing and start processing threads.

Synopsis

Declared in <bdlmt_threadpool.h>

int
start();

Description

Enable queuing on this thread pool and spawn minThreads() processing threads. Return 0 on success, and a non-zero value otherwise. If minThreads() threads were not successfully started, all threads are stopped.

Return Value

0 on success, and a non-zero value otherwise