mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 20:27:35 +00: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)
|
if (thread.dispatch_one_pending_signal() == ShouldUnblockThread::No)
|
||||||
return IterationDecision::Continue;
|
return IterationDecision::Continue;
|
||||||
if (was_blocked) {
|
if (was_blocked) {
|
||||||
|
#ifdef SCHEDULER_DEBUG
|
||||||
dbg() << "Unblock " << thread << " due to signal";
|
dbg() << "Unblock " << thread << " due to signal";
|
||||||
|
#endif
|
||||||
ASSERT(thread.m_blocker != nullptr);
|
ASSERT(thread.m_blocker != nullptr);
|
||||||
thread.m_blocker->set_interrupted_by_signal();
|
thread.m_blocker->set_interrupted_by_signal();
|
||||||
thread.unblock();
|
thread.unblock();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue