diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-25 22:37:12 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-27 17:35:14 +0200 |
commit | 203e706302c24f278eec7d0bd2362ce73b0e2612 (patch) | |
tree | 2a725cf13ed569fd846f7ab603475ca1cd06302f /src/core/hle/kernel/mutex.h | |
parent | SVC: Correct SignalEvent, ClearEvent, ResetSignal, WaitSynchronization, CancelSynchronization, ArbitrateLock (diff) | |
download | yuzu-203e706302c24f278eec7d0bd2362ce73b0e2612.tar yuzu-203e706302c24f278eec7d0bd2362ce73b0e2612.tar.gz yuzu-203e706302c24f278eec7d0bd2362ce73b0e2612.tar.bz2 yuzu-203e706302c24f278eec7d0bd2362ce73b0e2612.tar.lz yuzu-203e706302c24f278eec7d0bd2362ce73b0e2612.tar.xz yuzu-203e706302c24f278eec7d0bd2362ce73b0e2612.tar.zst yuzu-203e706302c24f278eec7d0bd2362ce73b0e2612.zip |
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: ResultCode TryAcquire(VAddr address, Handle holding_thread_handle, Handle requesting_thread_handle); + /// Unlocks a mutex for owner at address + std::pair<ResultCode, std::shared_ptr<Thread>> Unlock(std::shared_ptr<Thread> owner, VAddr address); + /// Releases the mutex at the specified address. ResultCode Release(VAddr address); |