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

Enable enqueuing to the queue associated with the specified `id`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
enableQueue(int id);
----

== Description

Enable enqueuing to the queue associated with the specified `id`&period; Return 0 on success, and a non&hyphen;zero value otherwise&period; It is an error to call `enableQueue` if a previous call to `stop` is being executed&period;

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *id*
| queue identifier
|===


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