Function OSSingleton.getProcessorCount

Returns the number of threads available on the host machine.

long getProcessorCount() nothrow @nogc const;