wine/dlls/xinput1_3
Arkadiusz Hiler 10a0a8eabc xinput1_3: Hold module reference while the hid thread is running.
We have no means of stopping the thread from DllMain on
DLL_PROCESS_DETACH without having a race condition - waiting on the
thread itself is not an option due to the loader lock.

The best we can do is just never unload the DLL as long as the thread is
active which is forever.

This fixes crashes in Mighty Switch Force! Collection while controllers
are unplugged - the game loads and frees xinput in a loop.
2023-10-11 17:28:24 +02:00
..
tests
main.c
Makefile.in
version.rc
xinput1_3.spec