device filtering support

Xiaofan Chen xiaofanc at gmail.com
Sat Feb 4 20:21:43 EST 2012


On Sun, Feb 5, 2012 at 1:10 AM, Segher Boessenkool
<segher at kernel.crashing.org> 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.
>
>
> Okay, okay.  "You don't have a fast *and correct* implementation
> of it on your platform".  You can still implement it yourself, it
> is portable just fine (you _have_ it working after all!)
>
> It also is painful for you.
>

I do not know if the following replacement from OpenOCD can
be a start point or not.
http://openocd.git.sourceforge.net/git/gitweb.cgi?p=openocd/openocd;a=blob;f=src/helper/replacements.c;hb=HEAD


-- 
Xiaofan



More information about the libusbx mailing list