Commit 6ca83f41 authored by Simon Marlow's avatar Simon Marlow
Browse files

non-threaded RTS: don't assume deadlock if there are signal handlers to run

parent c52eb69b
......@@ -1005,6 +1005,8 @@ scheduleDetectDeadlock (Capability *cap, Task *task)
// either we have threads to run, or we were interrupted:
ASSERT(!emptyRunQueue(cap) || sched_state >= SCHED_INTERRUPTING);
return;
}
#endif
......
Supports Markdown
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