
13 Mar
2007
13 Mar
'07
8:39 p.m.
On Tue, Mar 13, 2007 at 09:41:47PM +0300, Bulat Ziganshin wrote:
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...
there is no need to use any compiler flags, because now it is default.
You do need to use -threaded, it's not the default yet. You might be confusing this with ghc itself being built with -threaded by default. Also, there are plans to make -threaded on by default in the future. Thanks Ian