diff options
author | Yann Ylavic <ylavic@apache.org> | 2019-03-07 17:16:44 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2019-03-07 17:16:44 +0000 |
commit | cb7e46f629b8e8fab627fe3e1495be1783a19fd3 (patch) | |
tree | 6a3e21206cc173b9bed8bc3d92945d376ab8a227 /threadproc | |
parent | 7c3184857ceb544997d9620a3a4fa238c71880a4 (diff) | |
download | apr-cb7e46f629b8e8fab627fe3e1495be1783a19fd3.tar.gz |
Merge r1854123 from trunk:
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/branches/1.7.x@1854995 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-rw-r--r-- | threadproc/unix/signals.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/threadproc/unix/signals.c b/threadproc/unix/signals.c index 57a31af97..c735eaba0 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)) |