mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-19 15:57:54 +00:00
SingleCore: Improve Cycle timing Behavior and replace mutex in global scheduler for spinlock.
This commit is contained in:
parent
3197d72996
commit
4132ba96da
3 changed files with 4 additions and 2 deletions
|
@ -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()};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue