Is it guaranteed that libusb_handle_events() will always return immediately after running an event callback?
I'm also disturbed by the fact that this fixes anything. Partly because I don't see what's special about that thread, and partly because I don't know why we're getting SIGQUIT?