[#BloombergLP-bdlmt-MultiQueueThreadPool-stop]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/MultiQueueThreadPool.adoc[MultiQueueThreadPool]::stop
:relfileprefix: ../../../
:mrdocs:

Disable queuing on all queues and wait until all non&hyphen;paused queues are empty&period; Then, stop the thread pool if the thread pool is owned by this object&period; Note that `stop` does not attempt to delete queues directly&period; However, as a side&hyphen;effect of emptying all queues, any queue for which `deleteQueue` was called previously will be deleted before `stop` unblocks&period;

== Synopsis

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

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


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