Remove thread sleepTick/waitingNs

This commit is contained in:
wheremyfoodat 2024-01-27 15:38:27 +02:00
parent 99a1a0133d
commit 491b415759
4 changed files with 37 additions and 58 deletions

View file

@ -393,8 +393,6 @@ void Kernel::sleepThread(s64 ns) {
Thread& t = threads[currentThreadIndex];
t.status = ThreadStatus::WaitSleep;
t.waitingNanoseconds = ns;
t.sleepTick = cpu.getTicks();
t.wakeupTick = getWakeupTick(ns);
requireReschedule();