diff options
| author | 2020-02-25 17:37:12 -0400 | |
|---|---|---|
| committer | 2020-06-27 11:35:14 -0400 | |
| commit | 203e706302c24f278eec7d0bd2362ce73b0e2612 (patch) | |
| tree | 2a725cf13ed569fd846f7ab603475ca1cd06302f /src/core/hle/kernel/mutex.h | |
| parent | SVC: Correct SignalEvent, ClearEvent, ResetSignal, WaitSynchronization, Cance... (diff) | |
| download | yuzu-203e706302c24f278eec7d0bd2362ce73b0e2612.tar.gz yuzu-203e706302c24f278eec7d0bd2362ce73b0e2612.tar.xz yuzu-203e706302c24f278eec7d0bd2362ce73b0e2612.zip | |
SVC: Correct ArbitrateUnlock
Diffstat (limited to 'src/core/hle/kernel/mutex.h')
| -rw-r--r-- | src/core/hle/kernel/mutex.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/mutex.h b/src/core/hle/kernel/mutex.h index b904de2e8..bce06ecea 100644 --- a/src/core/hle/kernel/mutex.h +++ b/src/core/hle/kernel/mutex.h | |||
| @@ -28,6 +28,9 @@ public: | |||
| 28 | ResultCode TryAcquire(VAddr address, Handle holding_thread_handle, | 28 | ResultCode TryAcquire(VAddr address, Handle holding_thread_handle, |
| 29 | Handle requesting_thread_handle); | 29 | Handle requesting_thread_handle); |
| 30 | 30 | ||
| 31 | /// Unlocks a mutex for owner at address | ||
| 32 | std::pair<ResultCode, std::shared_ptr<Thread>> Unlock(std::shared_ptr<Thread> owner, VAddr address); | ||
| 33 | |||
| 31 | /// Releases the mutex at the specified address. | 34 | /// Releases the mutex at the specified address. |
| 32 | ResultCode Release(VAddr address); | 35 | ResultCode Release(VAddr address); |
| 33 | 36 | ||