patch applied (ghc-6.8/ghc): Enable -prof -threaded (#886)
Ian Lynagh
igloo at earth.li
Sat May 17 15:00:05 EDT 2008
Thu Feb 28 03:16:31 PST 2008 Simon Marlow <simonmar at microsoft.com>
* 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
View patch online:
http://darcs.haskell.org/ghc-6.8/ghc/_darcs/patches/20080228111631-760e2-eb39d86dae99e80a454e934fed1a646eede53a4a.gz
More information about the Cvs-ghc
mailing list