[#BloombergLP-bdlmt-MultipriorityThreadPool-2constructor-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/MultipriorityThreadPool.adoc[MultipriorityThreadPool]::MultipriorityThreadPool :relfileprefix: ../../../ :mrdocs: See the overload above for contract. == Synopsis Declared in `<bdlmt_multiprioritythreadpool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- MultipriorityThreadPool( int numThreads, int numPriorities, xref:BloombergLP/bslmt/ThreadAttributes.adoc[bslmt::ThreadAttributes] const& threadAttributes, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- == Parameters [cols="1,4"] |=== | 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 |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#