[Haskell-cafe] Processor availability

Louis Wasserman wasserman.louis at gmail.com
Thu Jan 22 17:00:40 EST 2009


How might I go about finding out how many processors are available in a
concurrent GHC program?  I have some code I'd like to parallelize, but I
don't want to spawn a separate (even lightweight) thread for each of
thousands of minor tasks.

Louis Wasserman
wasserman.louis at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090122/f9ef71c4/attachment.htm


More information about the Haskell-Cafe mailing list