forked from Bananymous/banan-os
Kernel: Fix scheduler thread counter
I was actually never incrementing the counter :D
This commit is contained in:
parent
58a3a480b9
commit
09a527fb12
|
@ -361,6 +361,8 @@ namespace Kernel
|
||||||
else
|
else
|
||||||
m_block_queue.add_thread_with_wake_time(node);
|
m_block_queue.add_thread_with_wake_time(node);
|
||||||
|
|
||||||
|
m_thread_count++;
|
||||||
|
|
||||||
Processor::set_interrupt_state(state);
|
Processor::set_interrupt_state(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue