mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-04 01:09:58 +00:00
Merge pull request #4323 from ReinUsesLisp/no-spin
kernel/scheduler: Use std::mutex instead of spin lock
This commit is contained in:
commit
5fc6bf96d8
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ private:
|
||||||
|
|
||||||
/// Scheduler lock mechanisms.
|
/// Scheduler lock mechanisms.
|
||||||
bool is_locked{};
|
bool is_locked{};
|
||||||
Common::SpinLock inner_lock{};
|
std::mutex inner_lock;
|
||||||
std::atomic<s64> scope_lock{};
|
std::atomic<s64> scope_lock{};
|
||||||
Core::EmuThreadHandle current_owner{Core::EmuThreadHandle::InvalidHandle()};
|
Core::EmuThreadHandle current_owner{Core::EmuThreadHandle::InvalidHandle()};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue