Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Sep 2018 10:15:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 231076] libusb_cancel_transfer() does NOT cancel a transfer after the USB device is removed
Message-ID:  <bug-231076-19105-n8bGTK7mi8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-231076-19105@https.bugs.freebsd.org/bugzilla/>
References:  <bug-231076-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231076

--- Comment #10 from Ludovic Rousseau <ludovic.rousseau+freebsd@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 libu=
sb
internal level but not for libusb_handle_events_completed().

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231076-19105-n8bGTK7mi8>