Ticket #36 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

No POLLIN fd on Linux, no POLLOUT on Darwin

Reported by: hadess Owned by:
Milestone: Component: libusb-1.0
Keywords: Cc:
Blocked By: Blocks:


As discovered by Hendrik:

There's no POLLIN fd on Linux, or POLLOUT fds, on Darwin

Change History

comment:1 Changed 7 years ago by dsd

And why is that a problem?

The application shouldn't make any assumptions about the fd set that comes back. It should just do what libusb suggests, polling all the fd's (not looking for specific ones) in the directions suggested by libusb. The fd set will also change from release to release, as it has been doing recently. Perhaps we can improve the documentation in this area.

comment:2 Changed 7 years ago by dsd

  • Resolution set to fixed
  • Status changed from new to closed

updated the documentation. If this application is somehow bothered by the events which it has to monitor, or is selectively polling only certain descriptors from the set then it is likely to run into problems down the line.

Note: See TracTickets for help on using tickets.