diff options
| author | bunnei <bunneidev@gmail.com> | 2021-01-20 16:47:57 -0800 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2021-01-28 21:42:26 -0800 |
| commit | ca78f77827376af1cd42f655dca6f8d1d2725200 (patch) | |
| tree | 0e8a382e4091d43bcb331f23b139c9997c2f5ac3 /src/core/hle/kernel/k_thread.h | |
| parent | cdd14b03e5c8e29bc6cd11bbde0ef726d2f166ce (diff) | |
hle: kernel: KScheduler: Introduce thread context_guard.
Diffstat (limited to 'src/core/hle/kernel/k_thread.h')
| -rw-r--r-- | src/core/hle/kernel/k_thread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h index 7845821ba..eeddf5a65 100644 --- a/src/core/hle/kernel/k_thread.h +++ b/src/core/hle/kernel/k_thread.h @@ -712,6 +712,7 @@ private: s8 priority_inheritance_count{}; bool resource_limit_release_hint{}; StackParameters stack_parameters{}; + Common::SpinLock context_guard{}; // For emulation std::shared_ptr<Common::Fiber> host_context{}; |
