[#BloombergLP-bdlmt-MultipriorityThreadPool-stopThreads] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/MultipriorityThreadPool.adoc[MultipriorityThreadPool]::stopThreads :relfileprefix: ../../../ :mrdocs: Destroy all worker threads of this multi‐priority thread pool after waiting for any active (i.e., already‐running) jobs to complete; no new jobs will be allowed to become active. This method has no impact on the enabled/disabled or suspended/resumed states of this thread pool. Note that calling this function when this thread pool is not in the started state has no effect. Also note that calling this method from one of the threads belonging to this thread pool will cause a deadlock. == Synopsis Declared in `<bdlmt_multiprioritythreadpool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void stopThreads(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#