X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FSchedule.c;h=141c973f3aa09693f4e94c4a6f3253163469727d;hp=636b5179ad9668d857ea22e24ea2ffdad095cf26;hb=0506cb7ec75321eaacc6c279d01d82368d2ca125;hpb=5bb65738e2b135fd1f81dd06e4731f7446d96393 diff --git a/rts/Schedule.c b/rts/Schedule.c index 636b517..141c973 100644 --- a/rts/Schedule.c +++ b/rts/Schedule.c @@ -2544,6 +2544,10 @@ checkBlackHoles (Capability *cap) prev = &blackhole_queue; t = blackhole_queue; while (t != END_TSO_QUEUE) { + if (t->what_next == ThreadRelocated) { + t = t->_link; + continue; + } ASSERT(t->why_blocked == BlockedOnBlackHole); type = get_itbl(UNTAG_CLOSURE(t->block_info.closure))->type; if (type != BLACKHOLE && type != CAF_BLACKHOLE) {