Kernel: Renamed some functions for clarity.

- ReleaseNextThread->WakeupNextThread
- ReleaseAllWaitingThreads->WakeupAllWaitingThreads.
This commit is contained in:
bunnei 2015-01-20 18:20:47 -05:00
parent 15b6a4d9ad
commit f09806aed2
7 changed files with 10 additions and 10 deletions

View file

@ -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 {