Merge pull request #4323 from ReinUsesLisp/no-spin

kernel/scheduler: Use std::mutex instead of spin lock
pull/8/head
bunnei 5 years ago committed by GitHub
commit 5fc6bf96d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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()};

Loading…
Cancel
Save