hle: kernel: Use std::mutex instead of spin locks for most kernel locking.

This commit is contained in:
bunnei 2022-04-07 16:01:26 -07:00
parent 203b812a83
commit e1b3368c18
10 changed files with 23 additions and 32 deletions

View file

@ -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