[Bug 231076] libusb_cancel_transfer() does NOT cancel a transfer after the USB device is removed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 5 15:37:00 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231076

--- Comment #12 from Hans Petter Selasky <hselasky at FreeBSD.org> ---
There also exist: libusb_handle_events_completed(), with the specific purpose
to set the completed=1, when you want to force the wait loop to exit. This
should be done before calling libusb_close().

Refer to the LibUSB manual pages on the internet for how to use.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-usb mailing list