BloombergLP::bdlmt::MultiQueueThreadPool::MultiQueueThreadPool

Construct a MultiQueueThreadPool with the specified threadPool. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the default memory allocator is used. The behavior is undefined if threadPool is 0. Note that the MultiQueueThreadPool is created without any queues. Although queues may be created, start must be called before enqueuing jobs.

Synopsis

Declared in <bdlmt_multiqueuethreadpool.h>

explicit
MultiQueueThreadPool(
    ThreadPool* threadPool,
    bslma::Allocator* basicAllocator = 0);