mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-15 20:57:50 +00:00
core: hid: Reduce the amount of dataraces
This commit is contained in:
parent
2e67caa7ec
commit
48ac3b1b60
6 changed files with 257 additions and 187 deletions
|
@ -200,6 +200,7 @@ private:
|
|||
MouseStickDevice mouse_stick_device;
|
||||
|
||||
mutable std::mutex mutex;
|
||||
mutable std::mutex callback_mutex;
|
||||
std::unordered_map<int, InterfaceUpdateCallback> callback_list;
|
||||
int last_callback_key = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue