Tue Mar 17 19:31:27 PDT 2009 Austin Seipp <[email protected]>
* FIX getNumberOfProcessors() on MacOS X
Ignore-this: 8df07f3353a8e12be9becf4b855d5fdf
This checks if darwin_HOST_OS is defined and, if so, we call
sysctlbyname() on the "hw.ncpu" property to get the processor count.
M ./rts/posix/OSThreads.c +9
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20090318023127-da858-c4b46d6daa660af2353dbd0a07b2ceb8739892ee.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc