q: a trivial question of usb2_transfer_unsetup()
Hans Petter Selasky
hselasky at c2i.net
Fri Mar 27 00:34:26 PDT 2009
On Friday 27 March 2009, Weongyo Jeong wrote:
> Hello Hans,
>
> I have a simple question that is there a possibility for .mh.callback of
> usb2_config to be called after usb2_transfer_unsetup()?
Hi,
usb2_transfer_unsetup() calls usb2_transfer_drain() which ensures that the
callback has exited before returning. Even if you drop the private transfer
lock in the callback and pick it up before returning.
--HPS
More information about the freebsd-usb
mailing list