Moar timer

This commit is contained in:
wheremyfoodat 2023-08-14 15:13:37 +03:00
parent fa58c7a7d6
commit 1354b0f7fa
4 changed files with 91 additions and 18 deletions

View file

@ -82,6 +82,8 @@ private:
bool canThreadRun(const Thread& t);
bool shouldWaitOnObject(KernelObject* object);
void releaseMutex(Mutex* moo);
void cancelTimer(Timer* timer);
void signalTimer(Handle timerHandle, Timer* timer);
// Wake up the thread with the highest priority out of all threads in the waitlist
// Returns the index of the woken up thread