summaryrefslogtreecommitdiffstats
path: root/daemon/client.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-04-07 15:37:37 +0200
committerGravatar Nikias Bassen2012-04-07 15:37:37 +0200
commitf0836404b382747aeba03ee2cae9c3f16420fb66 (patch)
treeea02ee3c2bfe0b2e8cdb9e91a7bac5c880e5fd3d /daemon/client.h
parentfabab8cb80ea87419afa7a1ccf4627e5e56da5e5 (diff)
downloadusbmuxd-f0836404b382747aeba03ee2cae9c3f16420fb66.tar.gz
usbmuxd-f0836404b382747aeba03ee2cae9c3f16420fb66.tar.bz2
libusbmuxd: use pthread_cancel to make usbmuxd_unsubscribe work properly
This actually only affects inotify-enabled builds. Since the faulty SIGINT pthread 'killing' was replaced with a proper solution, this fix is required for the situation where usbmuxd isn't initially running or was terminated; in these cases libusbmuxd was hanging inside a read() system call (waiting for an inotify event) causing pthread_join in usbmuxd_unsubscribe() to wait infinitely.
Diffstat (limited to 'daemon/client.h')
0 files changed, 0 insertions, 0 deletions