[ovs-git] Open vSwitch: poll-loop: Port to Windows. (master)

dev at openvswitch.org dev at openvswitch.org
Sat Jan 18 00:11:30 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  4ca828d713451307fea449be5111272f47c0c5a7 (commit)
      from  d103f479c6a4135935f9b12f5b4f4adc91e806c3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4ca828d713451307fea449be5111272f47c0c5a7
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=4ca828d713451307fea449be5111272f47c0c5a7
Author: Linda Sun <lsun at vmware.com>
		
poll-loop: Port to Windows.
		
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>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 include/linux/types.h            |    4 ++
 lib/automake.mk                  |    7 +-
 lib/{latch.c => latch-windows.c} |   30 ++++-----
 lib/latch.c                      |    2 +-
 lib/latch.h                      |    5 ++
 lib/poll-loop.c                  |  135 +++++++++++++++++++++++++++++---------
 lib/poll-loop.h                  |    8 ++-
 lib/timeval.c                    |   23 +++++--
 lib/timeval.h                    |    4 +-
 9 files changed, 160 insertions(+), 58 deletions(-)
 copy lib/{latch.c => latch-windows.c} (77%)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list