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)
commit97c4b27494addf0231724ca8339e818511256dcf
treed1d59309828e5e307404de12256b588c0bb234cf
parenta664d7385d97a2e4743d448aa3dddd911190f472
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.
rts/posix/OSThreads.c