patch applied (ghc-6.10/ghc): Fix another subtle shutdown deadlock
Simon Marlow
simonmarhaskell at gmail.com
Tue Nov 18 09:35:44 EST 2008
Thu Nov 13 08:00:05 PST 2008 Simon Marlow <marlowsd at gmail.com>
* Fix another subtle shutdown deadlock
The problem occurred when a thread tries to GC during shutdown. In
order to GC it has to acquire all the Capabilities in the system, but
during shutdown, some of the Capabilities have already been closed and
can never be acquired.
M ./rts/Schedule.c -1 +15
View patch online:
http://darcs.haskell.org/ghc-6.10/ghc/_darcs/patches/20081113160005-12142-54dc43ce74134fd97e365af0d8b783e71d63b8a6.gz
More information about the Cvs-ghc
mailing list