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.