summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68>2019-02-22 09:21:19 +0000
committerylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68>2019-02-22 09:21:19 +0000
commit87a6b91433e0da2506f30c279adb69eda32d70c6 (patch)
treebba56ea6c9a4af82d2e8ded458da664136edbb43 /threadproc
parent8d21dd7a5f99541e435732196735a6807df64b24 (diff)
downloadlibapr-87a6b91433e0da2506f30c279adb69eda32d70c6.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: http://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))