Since all we do is to be waken up to go back to the main loop I can sort the 
fds and or the events for the duplicates. Does that sound ok?

I used null events for the cases not used by windows. So it's currently not 
added to the array. I can always create event so no chance to pass a null event 
to poll loop. 


Linda

Sent from my iPad

> On Dec 7, 2013, at 8:53 AM, Ben Pfaff <[email protected]> wrote:
> 
>> On Fri, Dec 06, 2013 at 04:41:52PM -0800, Linda Sun wrote:
>> Can you elaborate which cases have duplicate fds?
> 
> It seems pretty likely for vconn-stream, since waiting to receive data
> and waiting for space to become available in the send buffer are
> independent.
> 
>> I've already used closesocket instead of close handle for
>> sockets. I'll send a separate patch with the stream related
>> changes. E.g. Replace read/write on socket with send/recv.
> 
> OK
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to