summaryrefslogtreecommitdiff
path: root/libusb/core.c
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2008-05-23 15:57:07 +0100
committerDaniel Drake <dsd@gentoo.org>2008-05-25 22:51:34 +0100
commit7c525480ab3c4db9205bfe30bb0d2bef9096c444 (patch)
treeda1cf6724d7182577ced7982bc739854f916b0ce /libusb/core.c
parentff0660a415ecfd0879600eaad1c5899b6d93a30a (diff)
downloadlibusb-7c525480ab3c4db9205bfe30bb0d2bef9096c444.tar.gz
Implement serialization of event handlers
Now offers a mechanism to wait for events while another thread is doing the event handling. Complicates things for MT async apps, but then again it's a bit of a tricky combination to start with.
Diffstat (limited to 'libusb/core.c')
-rw-r--r--libusb/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/core.c b/libusb/core.c
index db1ae2a..292e3ab 100644
--- a/libusb/core.c
+++ b/libusb/core.c
@@ -629,7 +629,7 @@ API_EXPORTED void libusb_unref_device(libusb_device *dev)
* This is a non-blocking function; no requests are sent over the bus.
*
* \param dev the device to open
- * \param output location for the returned device handle pointer. Only
+ * \param handle output location for the returned device handle pointer. Only
* populated when the return code is 0.
* \returns 0 on success
* \returns LIBUSB_ERROR_NO_MEM on memory allocation failure