diff options
author | Liam <byteslice@airmail.cc> | 2023-02-24 02:32:03 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-03-01 16:42:45 +0100 |
commit | 97f7f7bad59cdd42bf5f504089e5cecd441da3ce (patch) | |
tree | 1d7489c0bda11fb4e99e0a6d1acea4d4406861d4 /src/core/hle/kernel/k_condition_variable.cpp | |
parent | kernel: refactor priority inheritance to represent locks as C++ objects (diff) | |
download | yuzu-97f7f7bad59cdd42bf5f504089e5cecd441da3ce.tar yuzu-97f7f7bad59cdd42bf5f504089e5cecd441da3ce.tar.gz yuzu-97f7f7bad59cdd42bf5f504089e5cecd441da3ce.tar.bz2 yuzu-97f7f7bad59cdd42bf5f504089e5cecd441da3ce.tar.lz yuzu-97f7f7bad59cdd42bf5f504089e5cecd441da3ce.tar.xz yuzu-97f7f7bad59cdd42bf5f504089e5cecd441da3ce.tar.zst yuzu-97f7f7bad59cdd42bf5f504089e5cecd441da3ce.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_condition_variable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_condition_variable.cpp b/src/core/hle/kernel/k_condition_variable.cpp index 8dae78397..f40cf92b1 100644 --- a/src/core/hle/kernel/k_condition_variable.cpp +++ b/src/core/hle/kernel/k_condition_variable.cpp @@ -113,7 +113,7 @@ Result KConditionVariable::SignalToAddress(VAddr addr) { // Remove waiter thread. bool has_waiters{}; KThread* const next_owner_thread = - owner_thread->RemoveWaiterByKey(std::addressof(has_waiters), addr); + owner_thread->RemoveUserWaiterByKey(std::addressof(has_waiters), addr); // Determine the next tag. u32 next_value{}; @@ -283,7 +283,7 @@ Result KConditionVariable::Wait(VAddr addr, u64 key, u32 value, s64 timeout) { // Remove waiter thread. bool has_waiters{}; KThread* next_owner_thread = - cur_thread->RemoveWaiterByKey(std::addressof(has_waiters), addr); + cur_thread->RemoveUserWaiterByKey(std::addressof(has_waiters), addr); // Update for the next owner thread. u32 next_value{}; |