FIX getNumberOfProcessors() on MacOS X

Authored by austin.

Description

FIX getNumberOfProcessors() on MacOS X

This checks if darwin_HOST_OS is defined and, if so, we call
sysctlbyname() on the "hw.ncpu" property to get the processor count.

Details

Committed
austinMar 17 2009, 9:31 PM
Parents
rGHCa664d7385d97: Work around Solaris's grep not supporting -q
Branches
Unknown
Tags
Unknown