summaryrefslogtreecommitdiffstats
path: root/src/locking.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-10-11 23:08:48 +0200
committerGravatar Nikias Bassen2019-10-11 23:10:07 +0200
commit767fcceaeb456f5e281a6bd1b3f51713e4989293 (patch)
treed9a01fbea3c1a85f41ca0f033037737739a14629 /src/locking.c
parent75a61508bd3c2013492744fb5aea755e19b01086 (diff)
downloadidevicerestore-767fcceaeb456f5e281a6bd1b3f51713e4989293.tar.gz
idevicerestore-767fcceaeb456f5e281a6bd1b3f51713e4989293.tar.bz2
Use condition variable instead of active waiting for device event handling
With some devices and USB hardware the reconnect of a device might actually be faster than the check interval of the active waiting loop. With mutexes and a condition variable we will not miss the moment of reconnect anymore, even if it is really quick (like 7ms, right DanyL?)
Diffstat (limited to 'src/locking.c')
0 files changed, 0 insertions, 0 deletions