Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Sep 2018 15:33:25 +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-ISKPvJlz92@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 #11 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
> My problem is that libusb_handle_events_completed() (in another thread) d=
oes 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 t=
his
wakeup before calling libusb_close() or after?

--HPS

--=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-ISKPvJlz92>