std::thread::hardware_concurrency
From cppreference.com
static unsigned hardware_concurrency(); |
(since C++11) | |
Returns number of concurrent threads supported by the implementation. The value should be considered only a hint.
Contents |
[edit] Parameters
(none)
[edit] Return value
number of concurrent threads supported. If the value is not well defined or not computable, returns 0.
[edit] Exceptions
[edit] Example
This section is incomplete Reason: no example |