[Haskell-cafe] Parallelism on concurrent?
Ian Lynagh
igloo at earth.li
Tue Mar 13 20:39:18 EDT 2007
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
More information about the Haskell-Cafe
mailing list