hle: kernel: KScheduler: Introduce thread context_guard.

This commit is contained in:
bunnei
2021-01-20 16:47:57 -08:00
parent cdd14b03e5
commit ca78f77827
2 changed files with 16 additions and 3 deletions

View File

@ -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{};