BloombergLP::bslmt::ThreadUtilImpl<Platform::PosixThreads>::hardwareConcurrency

Return the number of concurrent threads supported by the implementation on success, and 0 otherwise.

Synopsis

Declared in <bslmt_threadutilimpl_pthread.h>

static
unsigned int
hardwareConcurrency();