[#BloombergLP-bdlmt-MultiQueueThreadPool-disableQueue] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/MultiQueueThreadPool.adoc[MultiQueueThreadPool]::disableQueue :relfileprefix: ../../../ :mrdocs: Disable enqueuing to the queue associated with the specified `id`. Return 0 on success, and a non‐zero value otherwise. Note that this method differs from `pauseQueue` in that (1) `disableQueue` does _not_ stop processing for a queue, and (2) prevents additional jobs from being enqueued. == Synopsis Declared in `<bdlmt_multiqueuethreadpool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int disableQueue(int id); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#