windows/hardwareConcurrency
Helper that queries and returns the current processor count.
getHardwareConcurrency (-- count)
Returns the current processor count as Int32.
- Each call performs a fresh
GetSystemInfo query.
- The result is the
dwNumberOfProcessors field converted to Int32.
- No other
SYSTEM_INFO fields are exposed by this wrapper.
See also
- windows/kernel32: Kernel32 declarations for synchronization, process, thread, file, and timing helpers.
- windows/Thread: Windows thread wrapper and helper constructor.
- sync/sync: Cross-platform scheduling, sleep, time, IPv4 formatting, and TCP helpers.