See the overload above for contract.
Synopsis
Declared in <bdlmt_multiprioritythreadpool.h>
MultipriorityThreadPool(
int numThreads,
int numPriorities,
bslmt::ThreadAttributes const& threadAttributes,
bslma::Allocator* basicAllocator = 0);
Parameters
Name |
Description |
numThreads |
number of worker threads to create when started |
numPriorities |
number of distinct job priority levels |
threadAttributes |
attributes used when creating worker threads |
basicAllocator |
memory allocator; null uses the default |
Created with MrDocs