diff --git a/kernel/kernel/Scheduler.cpp b/kernel/kernel/Scheduler.cpp index 02d9c4cc48..11f34ae567 100644 --- a/kernel/kernel/Scheduler.cpp +++ b/kernel/kernel/Scheduler.cpp @@ -361,6 +361,8 @@ namespace Kernel else m_block_queue.add_thread_with_wake_time(node); + m_thread_count++; + Processor::set_interrupt_state(state); }