Commit 0506cb7e authored by Simon Marlow's avatar Simon Marlow
Browse files

check for ThreadRelocated in checkBlackHoles()

parent 5bb65738
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment