diff options
| author | german77 <juangerman-13@hotmail.com> | 2022-04-02 00:02:31 -0600 |
|---|---|---|
| committer | Narr the Reg <juangerman-13@hotmail.com> | 2022-04-07 13:18:03 -0500 |
| commit | fa5277ecdb363f22f31ad4d0b981e12dde4eed0e (patch) | |
| tree | f8614e39d71c50c363a618945232af2a3e017627 /src/core/hid/emulated_devices.h | |
| parent | 172137f1a08cf5a702ca6da6ecba0329b10e0ed7 (diff) | |
core: hid: Reduce the amount of dataraces
Diffstat (limited to 'src/core/hid/emulated_devices.h')
| -rw-r--r-- | src/core/hid/emulated_devices.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hid/emulated_devices.h b/src/core/hid/emulated_devices.h index 790d3b411..73e9f0293 100644 --- a/src/core/hid/emulated_devices.h +++ b/src/core/hid/emulated_devices.h @@ -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; |
