summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/scheduler.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-09-12 08:23:53 +0200
committerGitHub <noreply@github.com>2020-09-12 08:23:53 +0200
commit5fc6bf96d8499c9fe436a29f71a90865dd4e8397 (patch)
tree932c63cc1537e3b2ec5cf6e9e9f2c9607cff9001 /src/core/hle/kernel/scheduler.h
parentMerge pull request #4645 from v1993/lgtm-less-packages (diff)
parentkernel/scheduler: Use std::mutex instead of spin lock (diff)
downloadyuzu-5fc6bf96d8499c9fe436a29f71a90865dd4e8397.tar
yuzu-5fc6bf96d8499c9fe436a29f71a90865dd4e8397.tar.gz
yuzu-5fc6bf96d8499c9fe436a29f71a90865dd4e8397.tar.bz2
yuzu-5fc6bf96d8499c9fe436a29f71a90865dd4e8397.tar.lz
yuzu-5fc6bf96d8499c9fe436a29f71a90865dd4e8397.tar.xz
yuzu-5fc6bf96d8499c9fe436a29f71a90865dd4e8397.tar.zst
yuzu-5fc6bf96d8499c9fe436a29f71a90865dd4e8397.zip
Diffstat (limited to 'src/core/hle/kernel/scheduler.h')
-rw-r--r--src/core/hle/kernel/scheduler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/scheduler.h b/src/core/hle/kernel/scheduler.h
index 36e3c26fb..b6f04dcea 100644
--- a/src/core/hle/kernel/scheduler.h
+++ b/src/core/hle/kernel/scheduler.h
@@ -188,7 +188,7 @@ private:
/// Scheduler lock mechanisms.
bool is_locked{};
- Common::SpinLock inner_lock{};
+ std::mutex inner_lock;
std::atomic<s64> scope_lock{};
Core::EmuThreadHandle current_owner{Core::EmuThreadHandle::InvalidHandle()};