1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 13:45:06 +00:00

Kernel: Rename queue_runnable_thread() => enqueue_runnable_thread()

This commit is contained in:
Andreas Kling 2021-08-08 14:19:55 +02:00
parent 0910979dec
commit 2be368e4c4
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!