mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-07-02 21:48:00 -05:00
SingleCore: Improve Cycle timing Behavior and replace mutex in global scheduler for spinlock.
This commit is contained in:
@ -188,7 +188,7 @@ private:
|
||||
|
||||
/// Scheduler lock mechanisms.
|
||||
bool is_locked{};
|
||||
std::mutex inner_lock{}; // TODO(Blinkhawk): Replace for a SpinLock
|
||||
Common::SpinLock inner_lock{};
|
||||
std::atomic<s64> scope_lock{};
|
||||
Core::EmuThreadHandle current_owner{Core::EmuThreadHandle::InvalidHandle()};
|
||||
|
||||
|
Reference in New Issue
Block a user