[Kernel] Make SleepThread actually sleep.

This commit is contained in:
wheremyfoodat
2022-10-12 00:42:42 +03:00
parent 64f397f865
commit e1ce698600

View File

@@ -156,6 +156,8 @@ void Kernel::sleepThread(s64 ns) {
t.status = ThreadStatus::WaitSleep;
t.waitingNanoseconds = ns;
t.sleepTick = cpu.getTicks();
switchToNextThread();
}
}