diff options
| author | JosJuice <josjuice@gmail.com> | 2025-04-26 11:13:44 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2025-04-26 12:56:37 +0200 |
| commit | f060baa2572d60a4c4e61f3cf730070f77f4f472 (patch) | |
| tree | 7dda961b905afd4743301a7d4f8b65c3bde0410d /Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp | |
| parent | 805307f432dba079caf7339122a07de5b90c4b47 (diff) | |
Config: Add locking for config changed callbacks
Different threads are adding and calling callbacks, so this should have
some locking. This is both to ensure thread safety when accessing
`s_callbacks` and to ensure that there won't be situations where a
callback gets called after it's removed.
`s_callback_guards` is also accessed from multiple threads and has
therefore been made atomic.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp')
0 files changed, 0 insertions, 0 deletions
