[Haskell-cafe] Uses forkOS all CPUS on-board?

Sebastian Sylvan sebastian.sylvan at gmail.com
Wed Nov 23 10:46:54 EST 2005

On 11/23/05, Dusan Kolar <kolar at fit.vutbr.cz> wrote:
> Hello haskellers,
>   in past few days, a lot of stuff on concurrency went through
> the conference. I'm trying to use posted things and my own.
> They work, even in a context switching regime, but I can't
> exploit all the CPU's on my computer. Always is "active"
> just one thread and, thus, the computation is even slower
> than having a sequential version. Below, you can find
> my code - it computes nothing useful, it's been simplified
> to test parallelism, nothing else. Where's my error?

Did you compile it with "-threaded"?

Sebastian Sylvan
UIN: 44640862

More information about the Haskell-Cafe mailing list