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

Put this thread pool into the suspended state&period;

== Synopsis

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

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

== Description

Put this multi&hyphen;priority thread pool into the suspended state&period; This method does not suspend any jobs that have begun to execute&semi; such jobs are allowed to complete&period; No pending jobs, however, will be allowed to begin execution until `resumeProcessing()` is called&period; This is orthogonal to start&sol;stop, and enable&sol;disable&semi; no threads are stopped&period; If this thread pool is started, this call blocks until all threads have finished any jobs they were processing and have gone into suspension&period; This method has no effect if this thread pool was already in the suspended state&period; Note that calling this method from one of the threads belonging to this thread pool will cause a deadlock&period;


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