[ovs-git] Open vSwitch: Use pthread_sigmask() in place of sigprocmask(), for thread safety. (master)

dev at openvswitch.org dev at openvswitch.org
Thu May 2 21:30:28 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  92829687b4f303fef7a6ca39d226e63d6be145e3 (commit)
      from  743cea45434a5a3c6560a73f29632c6352874c61 (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 92829687b4f303fef7a6ca39d226e63d6be145e3
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=92829687b4f303fef7a6ca39d226e63d6be145e3
Author: Ben Pfaff <blp at nicira.com>
		
Use pthread_sigmask() in place of sigprocmask(), for thread safety.
		
POSIX says that multithreaded programs must not use sigprocmask() but must
use pthread_sigmask() instead.  This commit makes that replacement.

The actual use of signals in Open vSwitch is still not thread safe
following this commit, but this change is a necessary prerequisite for
fixing the other problems.

Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 lib/process.c |    6 +++---
 lib/signals.c |    9 +++++----
 lib/signals.h |    4 ++--
 lib/timeval.c |    4 ++--
 4 files changed, 12 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list