diff options
| author | Weiyi Wang <wwylele@gmail.com> | 2018-10-02 11:06:42 -0400 |
|---|---|---|
| committer | fearlessTobi <thm.frey@gmail.com> | 2019-03-02 19:09:58 +0100 |
| commit | 618e092e42b662c73933ebd2878a03ac252883af (patch) | |
| tree | 1bbd230c022b094cf88ddcf0b47370529b9164ce /src/core/file_sys/patch_manager.cpp | |
| parent | a15f8a9936c7238dadd76c3f4590f552fe425a70 (diff) | |
input/sdl: lock map mutex after SDL call
Any SDL invocation can call the even callback on the same thread, which can call GetSDLJoystickBySDLID and eventually cause double lock on joystick_map_mutex. To avoid this, lock guard should be placed as closer as possible to the object accessing code, so that any SDL invocation is with the mutex unlocked
Diffstat (limited to 'src/core/file_sys/patch_manager.cpp')
0 files changed, 0 insertions, 0 deletions
