[#BloombergLP-bdlmt-MultipriorityThreadPool-startThreads]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/MultipriorityThreadPool.adoc[MultipriorityThreadPool]::startThreads
:relfileprefix: ../../../
:mrdocs:

Create and start the worker threads of this thread pool&period;

== Synopsis

Declared in `&lt;bdlmt&lowbar;multiprioritythreadpool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
startThreads();
----

== Description

Create and start `numThreads()` worker threads in this multi&hyphen;priority thread pool&period; Return 0 on success, and a non&hyphen;zero value with no worker threads and no jobs processed otherwise&period; This method has no impact on the enabled&sol;disabled or suspended&sol;resumed states of this thread pool&period; Note that calling this method when this thread pool is already in the started state has no effect&period; Also note that until this method is called, the thread pool will not process any jobs&period;

== Return Value

0 on success, and a non&hyphen;zero value otherwise


[.small]#Created with https://www.mrdocs.com[MrDocs]#
