summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorianh <ianh@13f79535-47bb-0310-9956-ffa450edef68>2002-03-20 21:19:55 +0000
committerianh <ianh@13f79535-47bb-0310-9956-ffa450edef68>2002-03-20 21:19:55 +0000
commit8cf856ca2060116452ee61588547779bf39075eb (patch)
tree4ca161d7f72b6dd670bddd5ad9afd28cabeab51a /threadproc
parent02b57a120babdb83777230c2d21f6863b8e025a8 (diff)
downloadlibapr-8cf856ca2060116452ee61588547779bf39075eb.tar.gz
don't mask SIGUSR2.
some debuggers (purify) use it PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63168 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-rw-r--r--threadproc/unix/signals.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/threadproc/unix/signals.c b/threadproc/unix/signals.c
index 6d2a12495..e20cd9339 100644
--- a/threadproc/unix/signals.c
+++ b/threadproc/unix/signals.c
@@ -301,6 +301,9 @@ static void remove_sync_sigs(sigset_t *sig_mask)
#ifdef SIGTRAP
sigdelset(sig_mask, SIGTRAP);
#endif
+#ifdef SIGUSR2
+ sigdelset(sig_mask, SIGUSR2);
+#endif
}
APR_DECLARE(apr_status_t) apr_signal_thread(int(*signal_handler)(int signum))