other versions
USB_WAIT_ANCHOR_EMPT(9) | USB Core APIs | USB_WAIT_ANCHOR_EMPT(9) |
NAME¶
usb_wait_anchor_empty_timeout - wait for an anchor to be unusedSYNOPSIS¶
int
usb_wait_anchor_empty_timeout(struct usb_anchor * anchor,
unsigned int timeout);
ARGUMENTS¶
anchorthe anchor you want to become unused
timeout
how long you are willing to wait in milliseconds
DESCRIPTION¶
Call this is you want to be sure all an anchor's URBs have finishedRETURN¶
Non-zero if the anchor became unused. Zero on timeout.COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |