diff options
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
| -rw-r--r-- | src/core/hle/kernel/mutex.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp index 4e86eb918..0b9dc700c 100644 --- a/src/core/hle/kernel/mutex.cpp +++ b/src/core/hle/kernel/mutex.cpp | |||
| @@ -70,6 +70,7 @@ ResultCode Mutex::Release(Thread* thread) { | |||
| 70 | holding_thread->held_mutexes.erase(this); | 70 | holding_thread->held_mutexes.erase(this); |
| 71 | holding_thread->UpdatePriority(); | 71 | holding_thread->UpdatePriority(); |
| 72 | SetHoldingThread(nullptr); | 72 | SetHoldingThread(nullptr); |
| 73 | SetHasWaiters(!GetWaitingThreads().empty()); | ||
| 73 | WakeupAllWaitingThreads(); | 74 | WakeupAllWaitingThreads(); |
| 74 | Core::System::GetInstance().PrepareReschedule(); | 75 | Core::System::GetInstance().PrepareReschedule(); |
| 75 | 76 | ||