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

Enable enqueuing of jobs to this thread pool&period;

== Synopsis

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

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

== Description

Enable the enqueuing of jobs to this multi&hyphen;priority thread pool&period; When this thread pool is enabled, the status returned when calling either overloaded `enqueueJob` method will be 0, indicating that the job was successfully enqueued&period; Note that calling this method when the queue is already in the enabled state has no effect&period;


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