summaryrefslogtreecommitdiff
path: root/libusb/libusb.h
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2008-11-21 13:28:32 +0000
committerDaniel Drake <dsd@gentoo.org>2008-11-21 13:28:32 +0000
commit9b4b53453db56ba9c1d707a645bbe6c7a02a3c81 (patch)
tree6178d6f1e3d65a3663b588bd08c39fef41012148 /libusb/libusb.h
parent0e5b0fcb77a90b8bd95ad23669da472af31ef069 (diff)
downloadlibusb-9b4b53453db56ba9c1d707a645bbe6c7a02a3c81.tar.gz
Improvements to multi-threaded I/O system
Documentation brushed up, and I realised that another function is needed for tight event handling loops -- they must be able to check if an open/close operation is trying to interrupt it.
Diffstat (limited to 'libusb/libusb.h')
-rw-r--r--libusb/libusb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libusb/libusb.h b/libusb/libusb.h
index db022c2..1a56d33 100644
--- a/libusb/libusb.h
+++ b/libusb/libusb.h
@@ -1141,6 +1141,7 @@ int libusb_get_string_descriptor_ascii(libusb_device_handle *dev,
int libusb_try_lock_events(libusb_context *ctx);
void libusb_lock_events(libusb_context *ctx);
void libusb_unlock_events(libusb_context *ctx);
+int libusb_event_handling_ok(libusb_context *ctx);
int libusb_event_handler_active(libusb_context *ctx);
void libusb_lock_event_waiters(libusb_context *ctx);
void libusb_unlock_event_waiters(libusb_context *ctx);