[#BloombergLP-bslmt-ThreadUtil-isThreadLimitReached]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtil.adoc[ThreadUtil]::isThreadLimitReached
:relfileprefix: ../../../
:mrdocs:

Counts down the limit counter set by `ThreadUtil&colon;&colon;setThreadLimit`&period; Returns `true` if current thread creation attempt should be failed&period; Note that if the thread limit is reached, all future thread creation attempts will fail, unless the limit is reset by a call to `setThreadLimit`&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;threadutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
isThreadLimitReached();
----


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