SDL/src/hidapi/windows
Sam Lantinga bc28790817 Make sure hidapi error handling is thread-safe
The hidapi method of storing the error on the device is not thread-safe, and not only could it result in a double free if multiple threads were setting the error at the same time, but SDL could be trying to use the error message and have it be freed out from under it by another thread.

Use SDL's error functions since they already use thread-local storage.
2023-05-26 23:50:50 -07:00
..
pp_data_dump Updated hidapi to 0.14.0 release 2023-05-26 08:19:04 -07:00
test Updated hidapi to 0.14.0 release 2023-05-26 08:19:04 -07:00
.gitignore Updated hidapi to 0.14.0 release 2023-05-26 08:19:04 -07:00
CMakeLists.txt Updated hidapi to 0.14.0 release 2023-05-26 08:19:04 -07:00
hid.c Make sure hidapi error handling is thread-safe 2023-05-26 23:50:50 -07:00
hidapi.rc Updated hidapi to 0.14.0 release 2023-05-26 08:19:04 -07:00
hidapi.sln Updated hidapi to 0.14.0 release 2023-05-26 08:19:04 -07:00
hidapi.vcproj Updated hidapi to 0.14.0 release 2023-05-26 08:19:04 -07:00
hidapi.vcxproj Updated hidapi to 0.14.0 release 2023-05-26 08:19:04 -07:00
hidapi_cfgmgr32.h Fixed compiling hidapi in SDL build environment 2023-05-26 08:19:04 -07:00
hidapi_descriptor_reconstruct.c Fixed parameter documentation mismatch 2023-05-26 08:19:04 -07:00
hidapi_descriptor_reconstruct.h Fixed compiling hidapi in SDL build environment 2023-05-26 08:19:04 -07:00
hidapi_hidclass.h Fixed compiling hidapi in SDL build environment 2023-05-26 08:19:04 -07:00
hidapi_hidpi.h Updated hidapi to 0.14.0 release 2023-05-26 08:19:04 -07:00
hidapi_hidsdi.h hidapi/windows: fixed PS4 controllers over Bluetooth on Windows 7 2023-05-26 08:19:04 -07:00
hidapi_winapi.h Fixed parameter documentation mismatch 2023-05-26 08:19:04 -07:00
hidtest.vcproj Updated hidapi to 0.14.0 release 2023-05-26 08:19:04 -07:00
hidtest.vcxproj Updated hidapi to 0.14.0 release 2023-05-26 08:19:04 -07:00
Makefile-manual Added missing files from previous commits 2018-08-09 16:05:48 -07:00
Makefile.am Updated hidapi to 0.14.0 release 2023-05-26 08:19:04 -07:00
Makefile.mingw Updated hidapi to 0.14.0 release 2023-05-26 08:19:04 -07:00