summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-01-21 00:20:47 +0100
committerbunnei <bunneidev@gmail.com>2015-01-22 02:48:30 +0100
commitf09806aed24b2f7de7d969cbfdb3b9d18ab90c61 (patch)
tree2c8ae1e650954dcc7342179a0e3202cd64fae8cf /src/core/hle/kernel/kernel.h
parentKernel: Changed "ShouldWait" to return bool and "Acquire" to return void. (diff)
downloadyuzu-f09806aed24b2f7de7d969cbfdb3b9d18ab90c61.tar
yuzu-f09806aed24b2f7de7d969cbfdb3b9d18ab90c61.tar.gz
yuzu-f09806aed24b2f7de7d969cbfdb3b9d18ab90c61.tar.bz2
yuzu-f09806aed24b2f7de7d969cbfdb3b9d18ab90c61.tar.lz
yuzu-f09806aed24b2f7de7d969cbfdb3b9d18ab90c61.tar.xz
yuzu-f09806aed24b2f7de7d969cbfdb3b9d18ab90c61.tar.zst
yuzu-f09806aed24b2f7de7d969cbfdb3b9d18ab90c61.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/kernel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index c26726223..3828efbea 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -138,13 +138,13 @@ public:
void RemoveWaitingThread(Thread* thead);
/**
- * Releases (and removes) the next thread waiting on this object
+ * Wake up the next thread waiting on this object
* @return Pointer to the thread that was resumed, nullptr if no threads are waiting
*/
- Thread* ReleaseNextThread();
+ Thread* WakeupNextThread();
- /// Releases all threads waiting on this object
- void ReleaseAllWaitingThreads();
+ /// Wake up all threads waiting on this object
+ void WakeupAllWaitingThreads();
private:
std::vector<Thread*> waiting_threads; ///< Threads waiting for this object to become available