Move libusb hotplug registration to polling thread.
authorArmin Novak <armin.novak@thincast.com>
Fri, 6 Mar 2020 08:00:12 +0000 (09:00 +0100)
committerakallabeth <akallabeth@users.noreply.github.com>
Fri, 6 Mar 2020 11:07:22 +0000 (12:07 +0100)
commit95522923bab9eb45fb0a3defb16d7e930bfe6fb9
tree0be0bc8a7b93402bcb804ecb7ca0ce03271f06d5
parentebdaea6f3b5e410b9a3380368d6023c52bed67cc
Move libusb hotplug registration to polling thread.

* libusb polling thread now is responsible for hotplug registration
  and removal as well as cleanup.
* Only register hotplug callback on systems with support.
channels/urbdrc/client/libusb/libusb_udevman.c