mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 07:08:04 -05:00
wait_object: Refactor to allow waking up a single thread.
This commit is contained in:
@ -44,6 +44,12 @@ public:
|
||||
*/
|
||||
virtual void WakeupAllWaitingThreads();
|
||||
|
||||
/**
|
||||
* Wakes up a single thread waiting on this object.
|
||||
* @param thread Thread that is waiting on this object to wakeup.
|
||||
*/
|
||||
void WakeupWaitingThread(SharedPtr<Thread> thread);
|
||||
|
||||
/// Obtains the highest priority thread that is ready to run from this object's waiting list.
|
||||
SharedPtr<Thread> GetHighestPriorityReadyThread();
|
||||
|
||||
|
Reference in New Issue
Block a user