[project @ 2000-03-16 17:27:12 by simonmar]
authorsimonmar <unknown>
Thu, 16 Mar 2000 17:27:13 +0000 (17:27 +0000)
committersimonmar <unknown>
Thu, 16 Mar 2000 17:27:13 +0000 (17:27 +0000)
commit3ddfdc19e74af725239b7dfdec776d1d07847fc2
treeb88e994dbeaf357e4ef9be9ba3f5db899a160ce1
parentcdcd92dcdaad32cf5d3b9a03775b2c1121c7bff7
[project @ 2000-03-16 17:27:12 by simonmar]
Raise an exception in any thread that is about to be garbage
collected.

- threads blocked on MVars that are otherwise garbage
  will receive a BlockedOnDeadMVar exception.

- threads blocked on Black Holes must be in some kind
  of deadlock, so we send them a NonTermination exception.
ghc/lib/std/PrelException.lhs
ghc/rts/GC.c
ghc/rts/Prelude.c
ghc/rts/Prelude.h
ghc/rts/Schedule.c
ghc/rts/Schedule.h