diff options
| author | 2019-10-28 10:53:27 +1100 | |
|---|---|---|
| committer | 2019-10-28 10:53:27 +1100 | |
| commit | 4c5731c34f0915457a31c60c9f70a2f169ea575d (patch) | |
| tree | 7f03a7f892370b59e56ae06c6c74514f1cc44998 /src/core/hle/kernel/mutex.cpp | |
| parent | Merge pull request #3034 from ReinUsesLisp/w4244-maxwell3d (diff) | |
| parent | Kernel Thread: Cleanup THREADPROCESSORID_DONT_UPDATE. (diff) | |
| download | yuzu-4c5731c34f0915457a31c60c9f70a2f169ea575d.tar.gz yuzu-4c5731c34f0915457a31c60c9f70a2f169ea575d.tar.xz yuzu-4c5731c34f0915457a31c60c9f70a2f169ea575d.zip | |
Merge pull request #2971 from FernandoS27/new-scheduler-v2
Kernel: Implement a New Thread Scheduler V2
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
| -rw-r--r-- | src/core/hle/kernel/mutex.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp index 98e87313b..663d0f4b6 100644 --- a/src/core/hle/kernel/mutex.cpp +++ b/src/core/hle/kernel/mutex.cpp | |||
| @@ -139,6 +139,9 @@ ResultCode Mutex::Release(VAddr address) { | |||
| 139 | thread->SetCondVarWaitAddress(0); | 139 | thread->SetCondVarWaitAddress(0); |
| 140 | thread->SetMutexWaitAddress(0); | 140 | thread->SetMutexWaitAddress(0); |
| 141 | thread->SetWaitHandle(0); | 141 | thread->SetWaitHandle(0); |
| 142 | thread->SetWaitSynchronizationResult(RESULT_SUCCESS); | ||
| 143 | |||
| 144 | system.PrepareReschedule(); | ||
| 142 | 145 | ||
| 143 | return RESULT_SUCCESS; | 146 | return RESULT_SUCCESS; |
| 144 | } | 147 | } |