diff options
Diffstat (limited to 'Kernel/Scheduler.cpp')
-rw-r--r-- | Kernel/Scheduler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/Scheduler.cpp b/Kernel/Scheduler.cpp index fbae58cd0b..9c9069238e 100644 --- a/Kernel/Scheduler.cpp +++ b/Kernel/Scheduler.cpp @@ -309,7 +309,8 @@ bool Scheduler::pick_next() return IterationDecision::Continue; if (was_blocked) { dbgprintf("Unblock %s(%u) due to signal\n", thread.process().name().characters(), thread.pid()); - thread.m_was_interrupted_while_blocked = true; + ASSERT(thread.m_blocker); + thread.m_blocker->set_interrupted_by_signal(); thread.unblock(); } return IterationDecision::Continue; |