|
From: Peter S. <pe...@st...> - 2013-05-30 09:45:11
|
terence12 wrote: > So first you submit a non blocking transfer using asynch and then > poll the file descriptors. Please study http://libusb.sourceforge.net/api-1.0/group__asyncio.html and http://libusb.sourceforge.net/api-1.0/group__poll.html carefully. If you are interested in portability, make sure to *NOT* use any file descriptors ie. do not call libusb_get_pollfds(). For portability, create a thread in your program which does nothing but call libusb_handle_events_completed() in a loop. //Peter |