Wed Nov 11 06:28:22 PST 2009 Simon Marlow <[email protected]>
* Second attempt to fix #1185 (forkProcess and -threaded)
Ignore-this: d33740204660b3e6dd6d39e8f5f7b499
Patch 1/2: second part of the patch is to libraries/base
This time without dynamic linker hacks, instead I've expanded the
existing rts/Globals.c to cache more CAFs, specifically those in
GHC.Conc. We were already using this trick for signal handlers, I
should have realised before.
It's still quite unsavoury, but we can do away with rts/Globals.c in
the future when we switch to a dynamically-linked GHCi.
M ./includes/rts/Globals.h -1 +5
M ./includes/rts/IOManager.h -1 +2
M ./rts/Globals.c -31 +61
M ./rts/Linker.c -1 +8
M ./rts/posix/Signals.c -4 +15
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20091111142822-12142-974311998a4cc72708105bf4019e21d5edf14e16.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc