mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
Scheduler: Fix bitrotted SCHEDULER_RUNNABLE_DEBUG code
The runnable lists have moved from Thread to Scheduler.
This commit is contained in:
parent
09cd3a7a07
commit
55d6efd485
1 changed files with 2 additions and 2 deletions
|
@ -375,14 +375,14 @@ bool Scheduler::pick_next()
|
|||
|
||||
#ifdef SCHEDULER_RUNNABLE_DEBUG
|
||||
dbgprintf("Non-runnables:\n");
|
||||
Thread::for_each_nonrunnable([](Thread& thread) -> IterationDecision {
|
||||
Scheduler::for_each_nonrunnable([](Thread& thread) -> IterationDecision {
|
||||
auto& process = thread.process();
|
||||
dbgprintf("[K%x] %-12s %s(%u:%u) @ %w:%x\n", &process, thread.state_string(), process.name().characters(), process.pid(), thread.tid(), thread.tss().cs, thread.tss().eip);
|
||||
return IterationDecision::Continue;
|
||||
});
|
||||
|
||||
dbgprintf("Runnables:\n");
|
||||
Thread::for_each_runnable([](Thread& thread) -> IterationDecision {
|
||||
Scheduler::for_each_runnable([](Thread& thread) -> IterationDecision {
|
||||
auto& process = thread.process();
|
||||
dbgprintf("[K%x] %-12s %s(%u:%u) @ %w:%x\n", &process, thread.state_string(), process.name().characters(), process.pid(), thread.tid(), thread.tss().cs, thread.tss().eip);
|
||||
return IterationDecision::Continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue