mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-14 23:57:49 +00:00
Reduce core timing mutex contention
This commit is contained in:
parent
49b783c9a2
commit
f9f340064f
3 changed files with 11 additions and 6 deletions
|
@ -603,6 +603,8 @@ private:
|
|||
|
||||
mutable std::mutex mutex;
|
||||
mutable std::mutex callback_mutex;
|
||||
mutable std::mutex npad_mutex;
|
||||
mutable std::mutex connect_mutex;
|
||||
std::unordered_map<int, ControllerUpdateCallback> callback_list;
|
||||
int last_callback_key = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue