[ovs-dev] [PATCH] poll-loop: windows poll_block implementation
Linda Sun
lsun at vmware.com
Tue Jan 7 23:35:48 UTC 2014
Sorry it doesn't. My linux and my windows are on different repo. And I didn't copy the last change over.
Linda
----- Original Message -----
From: "Ben Pfaff" <blp at nicira.com>
To: "Linda Sun" <lsun at vmware.com>
Cc: dev at openvswitch.org
Sent: Tuesday, January 7, 2014 2:51:58 PM
Subject: Re: [ovs-dev] [PATCH] poll-loop: windows poll_block implementation
On Mon, Jan 06, 2014 at 02:47:33PM -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>
Does this really compile? It appears that on Windows struct latch
does not have a fds[] member but latch-windows.c still refers to it
More information about the dev
mailing list