[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:33:27 UTC 2018


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

--- Comment #11 from Hans Petter Selasky <hselasky at FreeBSD.org> ---
> My problem is that libusb_handle_events_completed() (in another thread) does NOT return.

I see.

Are you aware about libusb_handle_events_timeout_completed()?

>From what I can see "libusb_close()" will write a byte on the control pipe
which should wakeup libusb_handle_events_completed(). Are you waiting for this
wakeup before calling libusb_close() or after?

--HPS

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


More information about the freebsd-usb mailing list