device filtering support

Michael Plante michael.plante at gmail.com
Sat Feb 4 11:50:45 EST 2012


Segher Boessenkool wrote:
>> select() is portable just fine; you just don't have a fast
>> implementation of it on your platform.


No, it's not.  I brought this up when Windows support was first being
seriously discussed a couple years ago.  A form of select() is implemented
on Windows, but only for network sockets.

<http://msdn.microsoft.com/en-us/library/windows/desktop/ms740141(v=vs.85).a
spx>

Everything else goes through a different set of APIs,
WaitForMultipleObjects() and friends:

<http://msdn.microsoft.com/en-us/library/windows/desktop/ms687025(v=vs.85).a
spx>

I think you are extrapolating someone's statement about certain other APIs.
Not all POSIX APIs exist on Windows.

Regards,
Michael




More information about the libusbx mailing list