MERGE: Fix bug exposed by conc052.
authorSimon Marlow <simonmar@microsoft.com>
Wed, 4 Apr 2007 10:30:27 +0000 (10:30 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 4 Apr 2007 10:30:27 +0000 (10:30 +0000)
commitb01325cd38343133ac8f0a1d45e7b8d7cbb52a43
tree3164130a7d196ff34b95cd2699f17e5922a8ed12
parentc8217b3d269ccbdcc6eb8a6e9a9e202d247ca7f4
MERGE: Fix bug exposed by conc052.
A thread that was blocked on a blackhole but can now be woken up could
possibly be treated as unreachable by the GC, and sent the
NonTermination exception.

This can give rise to spurious <<loop>>s in concurrent programs, so
it's a good one to fix.
rts/sm/MarkWeak.c