See the overload above for contract.
Declared in <bdlmt_multiprioritythreadpool.h>
MultipriorityThreadPool(
int numThreads,
int numPriorities,
bslmt::ThreadAttributes const& threadAttributes,
bslma::Allocator* basicAllocator = 0);
| 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 |