mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-12-01 05:44:38 +01:00
22df17c303
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 |
||
---|---|---|
.. | ||
sdl_impl.cpp | ||
sdl_impl.h | ||
sdl.cpp | ||
sdl.h |