diff options
author | bunnei <bunneidev@gmail.com> | 2018-01-07 22:33:41 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-07 22:33:41 +0100 |
commit | 0f6fbdb9632d4d67695b4f151884434b91441782 (patch) | |
tree | b3b112ae9c2cb47fe70bd889284efb1c6411abf7 /src/core/hle/kernel/wait_object.h | |
parent | nso: Always load the filepath specified by the user. (diff) | |
download | yuzu-0f6fbdb9632d4d67695b4f151884434b91441782.tar yuzu-0f6fbdb9632d4d67695b4f151884434b91441782.tar.gz yuzu-0f6fbdb9632d4d67695b4f151884434b91441782.tar.bz2 yuzu-0f6fbdb9632d4d67695b4f151884434b91441782.tar.lz yuzu-0f6fbdb9632d4d67695b4f151884434b91441782.tar.xz yuzu-0f6fbdb9632d4d67695b4f151884434b91441782.tar.zst yuzu-0f6fbdb9632d4d67695b4f151884434b91441782.zip |
Diffstat (limited to 'src/core/hle/kernel/wait_object.h')
-rw-r--r-- | src/core/hle/kernel/wait_object.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/kernel/wait_object.h b/src/core/hle/kernel/wait_object.h index 861578186..78bfd8c6c 100644 --- a/src/core/hle/kernel/wait_object.h +++ b/src/core/hle/kernel/wait_object.h @@ -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(); |