diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-10-29 11:24:52 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-29 11:24:52 -0400 |
| commit | 6aee148b170e6886e58a3996f729b2cc87329e95 (patch) | |
| tree | 39efd9469af6a922ee5f38d906940412333c1455 /src/core/hle/kernel/k_condition_variable.h | |
| parent | b5b93e6741f28f1b276e1ad2899beff9af87afff (diff) | |
| parent | 19e9bde9e069f841387b8d7cbb4b9074d5f30c21 (diff) | |
Merge pull request #11843 from liamwhite/sync-process
kernel: update KProcess
Diffstat (limited to 'src/core/hle/kernel/k_condition_variable.h')
| -rw-r--r-- | src/core/hle/kernel/k_condition_variable.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/hle/kernel/k_condition_variable.h b/src/core/hle/kernel/k_condition_variable.h index 8c2f3ae51..2620c8e39 100644 --- a/src/core/hle/kernel/k_condition_variable.h +++ b/src/core/hle/kernel/k_condition_variable.h @@ -24,11 +24,12 @@ public: explicit KConditionVariable(Core::System& system); ~KConditionVariable(); - // Arbitration - Result SignalToAddress(KProcessAddress addr); - Result WaitForAddress(Handle handle, KProcessAddress addr, u32 value); + // Arbitration. + static Result SignalToAddress(KernelCore& kernel, KProcessAddress addr); + static Result WaitForAddress(KernelCore& kernel, Handle handle, KProcessAddress addr, + u32 value); - // Condition variable + // Condition variable. void Signal(u64 cv_key, s32 count); Result Wait(KProcessAddress addr, u64 key, u32 value, s64 timeout); |
