[Haskell-cafe] Parallelism on concurrent?

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Mar 13 14:41:47 EDT 2007

Hello Jefferson,

Tuesday, March 13, 2007, 9:06:31 PM, you wrote:

> forkOS should work as well, assuming you have OS threads, like in linux 2.6.
> You should probably be using the -smp compiler flag and not the -threaded
> compiler flag, I'm guessing, and make sure that your +RTS arguments indicate
> that you want to use X total concurrent threads...

oh... forkOS=forkIO for this case. there is no need to use any
compiler flags, because now it is default. you should use +RTS -N2
flag in order to utilize both cores. more info at

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list