From f09806aed24b2f7de7d969cbfdb3b9d18ab90c61 Mon Sep 17 00:00:00 2001 From: bunnei Date: Tue, 20 Jan 2015 18:20:47 -0500 Subject: Kernel: Renamed some functions for clarity. - ReleaseNextThread->WakeupNextThread - ReleaseAllWaitingThreads->WakeupAllWaitingThreads. --- src/core/hle/kernel/kernel.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/hle/kernel/kernel.h') diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index c2672622..3828efbe 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 waiting_threads; ///< Threads waiting for this object to become available -- cgit v1.2.3