[ovs-dev] [PATCH v2 1/3] poll-loop: Make poll_fd_wait_event() cross-platform.
blp at nicira.com
Mon Feb 10 20:54:50 UTC 2014
On Mon, Feb 10, 2014 at 11:16:20AM -0800, Gurucharan Shetty wrote:
> This is helpful if we want to wait either on 'fd' for POSIX or
> events for Windows.
> For Windows, if both 'fd' and 'wevent' is specified, we associate
> that event with the 'fd' using WSAEventSelect(). So any 'events'
> on that 'fd' will wake us up from WaitForMultipleObjects().
> CC: Linda Sun <lsun at vmware.com>
> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
I found the WSAEventSelect() documentation in MSDN really
un-enlightening, but I'll take your word for it that this does
Acked-by: Ben Pfaff <blp at nicira.com>
More information about the dev