diff options
author | bunnei <bunneidev@gmail.com> | 2022-04-08 01:01:26 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-04-12 06:13:40 +0200 |
commit | 8deaac8bd1707f56f29d61e427ad53964a0920fd (patch) | |
tree | d17e4ed20b9249507ad587aa0eb82e277daff614 /src/core/hle/kernel/k_thread.h | |
parent | Merge pull request #8157 from lat9nq/kernel-races (diff) | |
download | yuzu-8deaac8bd1707f56f29d61e427ad53964a0920fd.tar yuzu-8deaac8bd1707f56f29d61e427ad53964a0920fd.tar.gz yuzu-8deaac8bd1707f56f29d61e427ad53964a0920fd.tar.bz2 yuzu-8deaac8bd1707f56f29d61e427ad53964a0920fd.tar.lz yuzu-8deaac8bd1707f56f29d61e427ad53964a0920fd.tar.xz yuzu-8deaac8bd1707f56f29d61e427ad53964a0920fd.tar.zst yuzu-8deaac8bd1707f56f29d61e427ad53964a0920fd.zip |
Diffstat (limited to 'src/core/hle/kernel/k_thread.h')
-rw-r--r-- | src/core/hle/kernel/k_thread.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h index d0fd85130..c141fc11b 100644 --- a/src/core/hle/kernel/k_thread.h +++ b/src/core/hle/kernel/k_thread.h @@ -15,6 +15,7 @@ #include "common/common_types.h" #include "common/intrusive_red_black_tree.h" +#include "common/spin_lock.h" #include "core/arm/arm_interface.h" #include "core/hle/kernel/k_affinity_mask.h" #include "core/hle/kernel/k_light_lock.h" @@ -762,7 +763,7 @@ private: s8 priority_inheritance_count{}; bool resource_limit_release_hint{}; StackParameters stack_parameters{}; - KSpinLock context_guard{}; + Common::SpinLock context_guard{}; KSpinLock dummy_wait_lock{}; // For emulation |