Thu Feb 28 03:16:31 PST 2008 Simon Marlow <[EMAIL PROTECTED]>
* Enable -prof -threaded (#886)
It turns out that -prof -threaded works (modulo some small changes),
because all the data structures used in profiling are only accessed by
one thread at a time, at long as we don't use +RTS -N2 or higher. So
this patch enables the use of -prof -threaded, but an error is given
if you ask for more than one CPU with +RTS -N.
M ./compiler/main/StaticFlags.hs +1
M ./rts/RtsFlags.c +6
M ./rts/RtsStartup.c -4 +5
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc