patch applied (ghc): FIX getNumberOfProcessors() on MacOS X

Matthias Kilian kili at outback.escape.de
Tue Mar 24 18:45:32 EDT 2009


On Mon, Mar 23, 2009 at 03:08:57AM -0700, Simon Marlow wrote:
>   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

This shoulld work on all *BSDs, too.



More information about the Cvs-ghc mailing list