[ovs-dev] [PATCH] poll-loop: windows poll_block implementation

Ben Pfaff blp at nicira.com
Sat Jan 18 00:11:34 UTC 2014


On Fri, Jan 17, 2014 at 03:55:17PM -0800, Ben Pfaff wrote:
> On Fri, Jan 17, 2014 at 03:41:31PM -0800, Ben Pfaff wrote:
> > On Thu, Jan 09, 2014 at 04:26:12PM -0800, Linda Sun wrote:
> > > Use WaitForMultipleObjects for polling on windows.  This works on all kinds
> > >  of objects, e.g. sockets, files, especially ioctl calls to the kernel.
> > >  poll_fd_wait_event() is used if events need to be passed to pollfds.
> > > latch is signaled with event, to be waited/polled by WaitForMultipleObjects()
> > >  as well.
> > > Changed array of fds to hmap to check for duplicate fds.
> > > 
> > > Signed-off-by: Linda Sun <lsun at vmware.com>
> > 
> > I made some stylistic fixes to this, as follows, and will apply it to
> > master soon.  Thank you!
> 
> Actually, running the tests, they hang for me with this change, so
> I'll take a look at that.

Oh, I see, it was a bug I introduced during my cleanup.  I fixed that
and applied this to master.  Thank you!



More information about the dev mailing list