[#BloombergLP-bdlmt-MultiQueueThreadPool-deleteQueue-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/MultiQueueThreadPool.adoc[MultiQueueThreadPool]::deleteQueue :relfileprefix: ../../../ :mrdocs: `deleteQueue` overloads == Synopses Declared in `<bdlmt_multiqueuethreadpool.h>` Delete the queue with the specified `id` after its current job finishes. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlmt/MultiQueueThreadPool/deleteQueue-0a.adoc[deleteQueue](int id); ---- [.small]#xref:BloombergLP/bdlmt/MultiQueueThreadPool/deleteQueue-0a.adoc[_» more..._]# Delete the queue with the specified `id`, running `cleanupFunctor` last. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlmt/MultiQueueThreadPool/deleteQueue-01.adoc[deleteQueue]( int id, xref:BloombergLP/bdlmt/MultiQueueThreadPool/CleanupFunctor.adoc[CleanupFunctor] const& cleanupFunctor); ---- [.small]#xref:BloombergLP/bdlmt/MultiQueueThreadPool/deleteQueue-01.adoc[_» more..._]# == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *id* | queue identifier | *cleanupFunctor* | functor invoked immediately before queue deletion |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#