To be sure to get all file descriptors to poll on you should probably use this 
sequence of calls:

libusb_init()
libusb_get_pollfds()
libusb_set_pollfd_notifiers()

libusb_get_pollfds() will give you all file descriptors that were created 
before you registered your libusb_pollfd_added_cb().

---
Reply to this email directly or view it on GitHub:
https://github.com/libusbx/libusbx/issues/158#issuecomment-28046900
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to