documentation in GHC.Conc, Control.Parallel.Strategies; querying number of CPUs

Esa Ilari Vuokko eivuokko at
Sat Jul 14 20:29:09 EDT 2007


On 7/15/07, Frederik Eaton <frederik at> wrote:
> As an aside, if you've read this far then you may know the answer to a
> related question: is there a way to query how many processors the
> current machine has? I am implementing a parallel sort, and in cases

In Windows there's Win32-package and System.Win32.getSystemInfo
(field siNumberOfProcessors.)


More information about the Libraries mailing list