
13 Mar
2007
13 Mar
'07
2:41 p.m.
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 http://haskell.org/ghc/docs/6.6/html/users_guide/release-6-6.html -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com