mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-03 01:38:29 +00:00
[Kernel Add WakeupOneThread
This commit is contained in:
parent
856aaf4440
commit
dac77cdc1d
3 changed files with 63 additions and 3 deletions
|
@ -77,6 +77,12 @@ private:
|
|||
bool shouldWaitOnObject(KernelObject* object);
|
||||
void releaseMutex(Mutex* moo);
|
||||
|
||||
// Wake up the thread with the highest priority out of all threads in the waitlist
|
||||
// Returns the index of the woken up thread
|
||||
// Do not call this function with an empty waitlist!!!
|
||||
int wakeupOneThread(u64 waitlist, Handle handle);
|
||||
void wakeupAllThreads(u64 waitlist, Handle handle);
|
||||
|
||||
std::optional<Handle> getPortHandle(const char* name);
|
||||
void deleteObjectData(KernelObject& object);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue