Closes #482
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
* do is submit a single transfer and wait for its completion, then using
* one of the synchronous I/O functions is much easier.
*
+ * \note
+ * The `completed` variable must be modified while holding the event lock,
+ * otherwise a race condition can still exist. It is simplest to do so from
+ * within the transfer callback as shown above.
+ *
* \section eventlock The events lock
*
* The problem is when we consider the fact that libusb exposes file
-#define LIBUSB_NANO 11546
+#define LIBUSB_NANO 11547