[#BloombergLP-bdlmt-ThreadPool-enabled]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/ThreadPool.adoc[ThreadPool]::enabled
:relfileprefix: ../../../
:mrdocs:

Return the state (enabled or not) of the thread pool&period;

== Synopsis

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

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

== Return Value

non&hyphen;zero if queuing is enabled, and 0 otherwise


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