Kernel: Rename queue_runnable_thread() => enqueue_runnable_thread()

This commit is contained in:
Andreas Kling 2021-08-08 14:19:55 +02:00
commit 2be368e4c4
Notes: sideshowbarker 2024-07-18 07:14:03 +09:00
3 changed files with 3 additions and 3 deletions

View file

@ -1120,7 +1120,7 @@ void Thread::set_state(State new_state, u8 stop_signal)
}
if (m_state == Runnable) {
Scheduler::queue_runnable_thread(*this);
Scheduler::enqueue_runnable_thread(*this);
Processor::smp_wake_n_idle_processors(1);
} else if (m_state == Stopped) {
// We don't want to restore to Running state, only Runnable!