Sam Lantinga
40bd4feedc
Revamped joystick locking
...
This makes the joystick locking more robust by holding the lock while updating joysticks.
The lock should be held when calling any SDL joystick function on a different thread than the one calling SDL_PumpEvents() and SDL_JoystickUpdate().
It is now possible to hold the lock while reinitializing the joystick subsystem, however any open joysticks will become invalid and potentially cause crashes if used afterwards.
Fixes https://github.com/libsdl-org/SDL/issues/6063
2022-08-30 11:42:13 -07:00
..
2022-07-03 00:56:09 -07:00
2022-01-03 09:40:21 -08:00
2022-07-03 00:56:09 -07:00
2022-08-19 13:15:28 -07:00
2022-07-20 18:41:53 -04:00
2022-01-03 09:40:21 -08:00
2022-03-27 09:14:07 -04:00
2022-01-03 09:40:21 -08:00
2022-04-26 04:03:25 +03:00
2022-04-26 04:03:25 +03:00
2022-04-26 04:03:25 +03:00
2022-05-12 14:37:00 +03:00
2022-06-18 07:37:57 -07:00
2022-05-11 09:31:34 -07:00
2022-05-18 15:01:27 -07:00
2022-04-26 04:03:25 +03:00
2022-06-18 13:00:44 -07:00
2022-06-27 10:19:39 -07:00
2022-06-06 17:42:30 -07:00
2022-07-01 13:59:14 -07:00
2022-07-01 13:59:14 -07:00
2022-08-02 11:40:31 -07:00
2022-06-18 13:00:44 -07:00
2022-01-03 09:40:21 -08:00
2022-07-29 13:24:05 +00:00
2022-01-03 09:40:21 -08:00
2022-07-30 16:32:21 -07:00
2022-01-03 09:40:21 -08:00
2022-04-25 15:46:17 -07:00
2022-07-11 08:44:49 -07:00
2022-08-09 15:48:12 +00:00
2022-01-03 09:40:21 -08:00
2022-06-05 00:24:04 +00:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-08-30 07:20:36 -04:00
2022-08-30 11:42:13 -07:00
2022-07-11 09:49:00 -07:00
2022-05-10 16:12:10 -07:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-04-29 11:28:59 -07:00
2022-08-08 08:32:38 -07:00
2022-01-03 09:40:21 -08:00
2022-03-27 16:49:05 +00:00
2022-01-03 09:40:21 -08:00
2022-08-11 21:11:11 +00:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2019-09-11 15:08:37 -07:00
2022-01-03 09:40:21 -08:00
2015-06-21 17:33:46 +02:00
2015-06-21 17:33:46 +02:00
2015-06-21 17:33:46 +02:00
2015-06-21 17:33:46 +02:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-07-01 13:59:14 -07:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-05-19 11:47:03 -07:00
2022-08-21 14:05:04 +00:00
2021-02-12 08:54:08 -08:00
2021-09-09 22:34:42 -04:00
2022-06-27 10:19:39 -07:00
2022-05-10 16:12:10 -07:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-08-18 16:06:42 -07:00
2022-06-20 18:31:39 -04:00
2022-06-27 17:20:12 +00:00
2022-04-18 12:31:02 -04:00
2022-01-03 09:40:21 -08:00
2022-07-29 20:37:38 -07:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-07-01 14:04:07 -07:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-06-27 10:19:39 -07:00
2022-01-03 09:40:21 -08:00
2022-02-08 10:37:04 +00:00
2022-01-03 09:40:21 -08:00
2022-08-19 09:38:42 -07:00
2022-08-24 11:25:13 -07:00
2021-10-27 01:36:05 +00:00
2022-07-25 19:53:04 -07:00