mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
Kernel: Silence some debug spam in Scheduler
This commit is contained in:
parent
9ce25bbf1d
commit
8a1dbe5483
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue