Kernel: Silence some debug spam in Scheduler

This commit is contained in:
Andreas Kling 2020-06-22 21:18:16 +02:00
parent 9ce25bbf1d
commit 8a1dbe5483

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();