[ovs-git] Open vSwitch: fatal-signal: Run signal hooks outside of actual signal handlers. (next)

dev at openvswitch.org dev at openvswitch.org
Wed Jan 6 14:59:15 UTC 2010


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, next has been updated
       via  d8b30702057c18dac2f35fd766ef5d2a12786eae (commit)
      from  e26b5a068c2b43c19d24deb8bb84499b112069fb (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 d8b30702057c18dac2f35fd766ef5d2a12786eae
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d8b30702057c18dac2f35fd766ef5d2a12786eae
Author: Jesse Gross <jesse at nicira.com>
		
fatal-signal: Run signal hooks outside of actual signal handlers.
		
Rather than running signal hooks directly from the actual signal
handler, simply record the fact that the signal occured and run
the hook next time around the poll loop.  This allows significantly
more freedom as to what can actually be done in the signal hooks.


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

Summary of changes:
 lib/fatal-signal.c       |  127 +++++++++++++++++++++-------------------------
 lib/fatal-signal.h       |    4 +-
 lib/netdev.c             |    2 -
 lib/poll-loop.c          |    8 +++
 lib/process.c            |    8 ---
 tests/test-dhcp-client.c |    2 -
 utilities/ovs-discover.c |    2 -
 7 files changed, 67 insertions(+), 86 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list