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

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


Hi,

On 7/15/07, Frederik Eaton <frederik at a5.repetae.net> 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.)

HTH,
Esa


More information about the Libraries mailing list