[ovs-git] Open vSwitch: timeval: Replace rwlock by mutex. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Sep 13 21:31:52 UTC 2013


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  e6249c68a5cad9c8df80fa40b7b5de87dfb733b0 (commit)
       via  04b331cdca71500c452ac068b3120c03fe111e21 (commit)
       via  3e509ec5ed94351e0b6fc1cfc64351f5be7d8bc2 (commit)
      from  2b31d8e713de705fdca1c412d4748077f85e4009 (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 e6249c68a5cad9c8df80fa40b7b5de87dfb733b0
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e6249c68a5cad9c8df80fa40b7b5de87dfb733b0
Author: Ben Pfaff <blp at nicira.com>
		
timeval: Replace rwlock by mutex.
		
It's only held briefly now and in general a mutex tends to be preferred for
that case.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


commit 04b331cdca71500c452ac068b3120c03fe111e21
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=04b331cdca71500c452ac068b3120c03fe111e21
Author: Ben Pfaff <blp at nicira.com>
		
timeval: Restore ability to warp time forward when time is not stopped.
		
Commit 31ef9f5178dee18 (timeval: Remove CACHE_TIME scheme.) inadvertently
removed the ability to warp time forward, for use in tests, except when
time is stopped.  This fixes the problem.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


commit 3e509ec5ed94351e0b6fc1cfc64351f5be7d8bc2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3e509ec5ed94351e0b6fc1cfc64351f5be7d8bc2
Author: Ben Pfaff <blp at nicira.com>
		
timeval: Add Clang thread-safety annotations, fix unimportant violation.
		
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


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

Summary of changes:
 lib/timeval.c |   63 ++++++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 45 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list