Hi Tim, On 2012-06-22, at 5:38 PM, Tim Roberts wrote:
> Kevyn-Alexandre Paré wrote: >> So by calling the libusb_get_pollfds It return 3 file descriptor. >> >> So my question is why 3? >> >> 2 files descriptor (POLLIN) that could be read. >> 1 file descriptor (POLLOUT) that could be write. >> ... >> So I can see that POLLOUT could be the endpoint8 and 1 of the POLLIN the >> endpoint6? If this is correct what is the other POLLIN file descriptor? > > If timerfd is available on your system, to manage timer expirations > through a file descriptor, that's added to the POLLIN list. thx, The linux kernel that I'm using have timerfd enable! One question remains, how to distinguish the files descriptor from each other? -- KA > > -- > Tim Roberts, t...@probo.com > Providenza & Boekelheide, Inc. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > libusbx-devel mailing list > libusbx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libusbx-devel ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel