Document the danger of forcefully killing threads
Document the danger of forcefully killing threads

Ludovic Rousseau has explained that he achieved transfer cancellation in
libusb-0.1 by running each transfer in it's own thread, and forcefully
killing the thread when he doesn't want the transfer any more.

This bad programming practice is imposed by libusb-0.1 not offering any
way to cancel ongoing transfers. Someone should rewrite libusb-0.1 to
avoid this limitation. Oh, wait...

Killing libusb-1.0 threads while they are event handling will often
result in I/O halt. Document this in the README.

Distrotech/libusb-compat,BuLogics/libusb-compat-0.1,Distrotech/libusb-compat,ystk/tools-yocto1-libusb-compat-0.1,BuLogics/libusb-compat-0.1,BuLogics/libusb-compat-0.1,ystk/tools-yocto1-libusb-compat-0.1,hjelmn/libusb-compat-0.1,ystk/tools-yocto1-libusb-compat-0.1,hjelmn/libusb-compat-0.1