[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 10:15:07 UTC 2018


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

--- Comment #10 from Ludovic Rousseau <ludovic.rousseau+freebsd at gmail.com> ---
I have no problem with libusb_cancel_transfer() failing with the error
LIBUSB_ERROR_NOT_FOUND. I can handle that.

My problem is that libusb_handle_events_completed() (in another thread) does
NOT return.
On device removal it looks like the USB transfers are cancelled at the libusb
internal level but not for libusb_handle_events_completed().

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


More information about the freebsd-usb mailing list