diff options
author | anithra <anithra@linux.vnet.ibm.com> | 2008-07-17 14:05:45 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-07-17 14:05:45 -0400 |
commit | 8a3fc6c9f5336d2a4c8b776799e4ed4fabc5be35 (patch) | |
tree | 42e0ef399db2622029af200a2ce06248038edbbd /main.cxx | |
parent | bddbea049ec8aea1dd1ba06e78ec57206a228677 (diff) | |
download | systemtap-steved-8a3fc6c9f5336d2a4c8b776799e4ed4fabc5be35.tar.gz systemtap-steved-8a3fc6c9f5336d2a4c8b776799e4ed4fabc5be35.tar.xz systemtap-steved-8a3fc6c9f5336d2a4c8b776799e4ed4fabc5be35.zip |
PR6030: forward signals to children - stapio etc.
Diffstat (limited to 'main.cxx')
-rw-r--r-- | main.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -260,9 +260,10 @@ printscript(systemtap_session& s, ostream& o) int pending_interrupts; extern "C" -void handle_interrupt (int /* sig */) +void handle_interrupt (int sig) { pending_interrupts ++; + kill (0, sig); // forward signals to child processes if any if (pending_interrupts > 1) // XXX: should be configurable? time-based? { char msg[] = "Too many interrupts received, exiting.\n"; |