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

Return a _hint_ at the number of concurrent threads supported by this platform on success, and 0 otherwise&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
unsigned int
hardwareConcurrency();
----

== Return Value

hint at concurrent threads supported, or 0 otherwise


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