[#BloombergLP-bdlmt-MultiQueueThreadPool-2destructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/MultiQueueThreadPool.adoc[MultiQueueThreadPool]::&#126;MultiQueueThreadPool
:relfileprefix: ../../../
:mrdocs:

Destroy this multi&hyphen;queue thread pool&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&#126;MultiQueueThreadPool();
----

== Description

Destroy this multi&hyphen;queue thread pool&period; Disable queuing on all queues, and wait until all queues are empty&period; Then, delete all queues, and shut down the thread pool if the thread pool is owned by this object&period; This method will block if any thread is executing `start` or `stop` at the time of the call&period;


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