summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2019-02-22 09:21:19 +0000
committerYann Ylavic <ylavic@apache.org>2019-02-22 09:21:19 +0000
commitfe92662d0ea2dbe1bccc1d80ab5a5537c9a3e800 (patch)
treebba56ea6c9a4af82d2e8ded458da664136edbb43 /threadproc
parent18c7d0cc2c89500f47bf19a46bbe86331400f9f2 (diff)
downloadapr-fe92662d0ea2dbe1bccc1d80ab5a5537c9a3e800.tar.gz
Signals: Allow handling of SIGUSR2 in apr_signal_thread.
It's not like users have so many free signals to play with, let's increase this number by 100% here, not so bad :) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1854123 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-rw-r--r--threadproc/unix/signals.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/threadproc/unix/signals.c b/threadproc/unix/signals.c
index 361d68acb..9a83c124c 100644
--- a/threadproc/unix/signals.c
+++ b/threadproc/unix/signals.c
@@ -307,13 +307,7 @@ static void remove_sync_sigs(sigset_t *sig_mask)
/* the rest of the signals removed from the mask in this function
* absolutely must be removed; you cannot block synchronous signals
* (requirement of pthreads API)
- *
- * SIGUSR2 is being removed from the mask for the convenience of
- * Purify users (Solaris, HP-UX, SGI) since Purify uses SIGUSR2
*/
-#ifdef SIGUSR2
- sigdelset(sig_mask, SIGUSR2);
-#endif
}
APR_DECLARE(apr_status_t) apr_signal_thread(int(*signal_handler)(int signum))