Kernel: Silence some debug spam in Scheduler

This commit is contained in:
Andreas Kling 2020-06-22 21:18:16 +02:00
commit 8a1dbe5483
Notes: sideshowbarker 2024-07-19 05:26:49 +09:00

View file

@ -388,7 +388,9 @@ bool Scheduler::pick_next()
if (thread.dispatch_one_pending_signal() == ShouldUnblockThread::No)
return IterationDecision::Continue;
if (was_blocked) {
#ifdef SCHEDULER_DEBUG
dbg() << "Unblock " << thread << " due to signal";
#endif
ASSERT(thread.m_blocker != nullptr);
thread.m_blocker->set_interrupted_by_signal();
thread.unblock();