On Fri, Dec 19, 2008 at 3:16 PM, Paul Keir <pk...@dcs.gla.ac.uk> wrote: > can I not expect each thread to run on a separate core?
Try moving 'fibs' inside 'heavyTask', like heavytask m = putMVar m $! (let fibs = 0 : 1 : zipWith (+) fibs (tail fibs) in (fibs !! 100000)) Maybe this may trick the compiler into not sharing fibs. -- Felipe. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe