diff options
author | bunnei <bunneidev@gmail.com> | 2015-01-20 18:20:47 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-01-21 20:48:30 -0500 |
commit | f09806aed24b2f7de7d969cbfdb3b9d18ab90c61 (patch) | |
tree | 2c8ae1e650954dcc7342179a0e3202cd64fae8cf /src/core/hle/kernel/mutex.cpp | |
parent | 15b6a4d9add6b260a2a1a84ab6228addced4f851 (diff) |
Kernel: Renamed some functions for clarity.
- ReleaseNextThread->WakeupNextThread
- ReleaseAllWaitingThreads->WakeupAllWaitingThreads.
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
-rw-r--r-- | src/core/hle/kernel/mutex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp index 355824e6..c170e55f 100644 --- a/src/core/hle/kernel/mutex.cpp +++ b/src/core/hle/kernel/mutex.cpp @@ -53,7 +53,7 @@ void MutexAcquireLock(Mutex* mutex, Handle thread = GetCurrentThread()->GetHandl */ void ResumeWaitingThread(Mutex* mutex) { // Find the next waiting thread for the mutex... - auto next_thread = mutex->ReleaseNextThread(); + auto next_thread = mutex->WakeupNextThread(); if (next_thread != nullptr) { MutexAcquireLock(mutex, next_thread->GetHandle()); } else { |