Page MenuHomeFreeBSD

libusb: implement libusb_pollfds_handle_timeouts
ClosedPublic

Authored by aokblast on Tue, Aug 5, 3:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 10, 8:28 PM
Unknown Object (File)
Sun, Aug 10, 7:30 PM
Unknown Object (File)
Sun, Aug 10, 7:30 PM
Unknown Object (File)
Sun, Aug 10, 4:41 PM
Unknown Object (File)
Sun, Aug 10, 4:03 PM
Unknown Object (File)
Wed, Aug 6, 2:33 PM
Subscribers

Details

Summary

This function tell applications who maintains the pollfds themselves if
they should handle the timeout for each xfer themselves. In FreeBSD, the
timeout for each xfer is handle by kernel and no need a special timer to
do it. Therefore, we return 1 to indicate that it is handle by libusb
internally.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

For the commit message:

  • This function tell -> This function tells
  • is handle by kernel -> is handled by kernel
  • no need a special timer -> doesn't need a special timer
  • it is handle by libusb -> it is handled by libusb
lib/libusb/libusb.3
738
This revision is now accepted and ready to land.Tue, Aug 5, 6:21 PM
lib/libusb/libusb.3
738
739
This revision now requires review to proceed.Wed, Aug 6, 1:34 PM
markj added inline comments.
lib/libusb/libusb.3
738
This revision is now accepted and ready to land.Wed, Aug 6, 1:35 PM