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.
Returns the number of hardware threads on the underlying system.
unsigned int __cdecl GetProcessorCount();
Return Value
The number of hardware threads.
Remarks
unsupported_os is thrown if the operating system is not supported by the Concurrency Runtime.
Requirements
Header: concrtrm.h
Namespace: concurrency