Mon Aug 17 07:23:52 PDT 2009 Thomas Schilling <nomin...@googlemail.com> * Make the dynamic linker thread-safe. The current implementation is rather pessimistic. The persistent linker state is now an MVar and all exported Linker functions are wrapped in modifyMVar calls. This is serves as a big lock around all linker functions. There might be a chance for more concurrency in a few places. E.g., extending the closure environment and loading packages might be independent in some cases. But for now it's better to be on the safe side.
M ./compiler/HsVersions.h +9 M ./compiler/ghci/Linker.lhs -143 +145 M ./compiler/utils/Util.lhs -1 +10 View patch online: http://darcs.haskell.org/ghc/_darcs/patches/20090817142352-7c5c6-99566730778ddd4d42f353d4929ef39200fd4ff8.gz _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc