aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/cheat_engine.cpp
diff options
context:
space:
mode:
authorWeiyi Wang <wwylele@gmail.com>2018-10-02 11:06:42 -0400
committerfearlessTobi <thm.frey@gmail.com>2019-03-02 19:09:58 +0100
commit618e092e42b662c73933ebd2878a03ac252883af (patch)
tree1bbd230c022b094cf88ddcf0b47370529b9164ce /src/core/file_sys/cheat_engine.cpp
parenta15f8a9936c7238dadd76c3f4590f552fe425a70 (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/cheat_engine.cpp')
0 files changed, 0 insertions, 0 deletions