FIX getNumberOfProcessors() on MacOS X
authorAustin Seipp <mad.one@gmail.com>
Wed, 18 Mar 2009 02:31:27 +0000 (02:31 +0000)
committerAustin Seipp <mad.one@gmail.com>
Wed, 18 Mar 2009 02:31:27 +0000 (02:31 +0000)
This checks if darwin_HOST_OS is defined and, if so, we call
sysctlbyname() on the "hw.ncpu" property to get the processor count.


No differences found