Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Static method that returns an estimate of the number of hardware thread contexts.
static unsigned int hardware_concurrency() _NOEXCEPT;
Return Value
An estimate of the number of hardware thread contexts. If the value cannot be computed or is not well defined, this method returns 0.
Requirements
Header: thread
Namespace: std