summaryrefslogtreecommitdiffstats
path: root/include/libusb-1.0/os/threads_posix.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2021-06-20 02:45:09 +0200
committerGravatar Nikias Bassen2021-06-20 02:45:09 +0200
commit5718dd2ae149f615191552eef40f8f90e60a3455 (patch)
treeb6523e8d4a08b04445aa51eec864c255797e3a0c /include/libusb-1.0/os/threads_posix.h
parentcb50087482cf5a4239ad9c96b7157c45eac12876 (diff)
downloadlibirecovery-5718dd2ae149f615191552eef40f8f90e60a3455.tar.gz
libirecovery-5718dd2ae149f615191552eef40f8f90e60a3455.tar.bz2
Make sure the device event handler thread has started before returning from irecv_device_event_subscribe()
This fixes a potential deadlock that might occur when irecv_device_event_unsubscribe() is called before the device event handler thread has started, eventually resulting in a deadlock.
Diffstat (limited to 'include/libusb-1.0/os/threads_posix.h')
0 files changed, 0 insertions, 0 deletions