API: Add libusb_interrupt_event_handler() function
authorChris Dickens <christopher.a.dickens@gmail.com>
Thu, 10 Dec 2015 08:20:18 +0000 (00:20 -0800)
committerChris Dickens <christopher.a.dickens@gmail.com>
Thu, 17 Dec 2015 08:28:35 +0000 (00:28 -0800)
commita6db382ad11f7662b550338e0570d5a2dfd8ce5a
tree6b14ce8d5359234536e2c280c91c97d5ec440a7a
parent87a97e4f2065cc7190b0098b4d0df5a68e10a547
API: Add libusb_interrupt_event_handler() function

This new function will allow the user to purposely interrupt an
event handling thread, causing it to return from the event handling
function. This is mainly useful for cleanly exiting from a dedicated
event handling thread during application shutdown.

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/io.c
libusb/libusb-1.0.def
libusb/libusb.h
libusb/libusbi.h
libusb/version_nano.h