Lime3DS/src/input_common/sdl
Weiyi Wang 22df17c303 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
2018-10-02 11:22:20 -04:00
..
sdl_impl.cpp input/sdl: lock map mutex after SDL call 2018-10-02 11:22:20 -04:00
sdl_impl.h Input: Remove global variables from SDL Input 2018-09-22 14:13:50 -06:00
sdl.cpp Input: Remove global variables from SDL Input 2018-09-22 14:13:50 -06:00
sdl.h Input: Remove global variables from SDL Input 2018-09-22 14:13:50 -06:00