Commit 6958b7bd authored by Simon Marlow's avatar Simon Marlow
Browse files

BlockedOnMsgThrowTo is possible in resurrectThreads (#4030)

parent 0a4162ac
......@@ -2551,6 +2551,12 @@ resurrectThreads (StgTSO *threads)
* can wake up threads, remember...).
*/
continue;
case BlockedOnMsgThrowTo:
// This can happen if the target is masking, blocks on a
// black hole, and then is found to be unreachable. In
// this case, we want to let the target wake up and carry
// on, and do nothing to this thread.
continue;
default:
barf("resurrectThreads: thread blocked in a strange way: %d",
tso->why_blocked);
......
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