[Haskell-cafe] Re: Waiting for thread to finish

Brad Clow brad at bjclow.org
Tue Nov 27 20:06:04 EST 2007


Silly mistake. I had compiled with -threaded, but forgot the +RTS -N2.

However, I have a more complex app, where I haven't forgotton to use
the right flags :-) and the utilisation of cores is very poor. I am
thinking it is due to laziness. I am currently wondering how GHC
handles the case where the function that is being forked uses lazy
arguments?

On Nov 28, 2007 10:54 AM, Spencer Janssen <sjanssen at cse.unl.edu> wrote:

> Did you compile with -threaded, and run with +RTS -N2?

Regards
brad

-- 
www.scoodi.com
Recycle is good: Reuse is better


More information about the Haskell-Cafe mailing list