You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2018/01/18 14:56:22 UTC

svn commit: r1821505 - /httpd/httpd/trunk/server/mpm/event/event.c

Author: ylavic
Date: Thu Jan 18 14:56:22 2018
New Revision: 1821505

URL: http://svn.apache.org/viewvc?rev=1821505&view=rev
Log:
Follow up to r1821504: same comment in event than in worker.


Modified:
    httpd/httpd/trunk/server/mpm/event/event.c

Modified: httpd/httpd/trunk/server/mpm/event/event.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/event/event.c?rev=1821505&r1=1821504&r2=1821505&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/event/event.c (original)
+++ httpd/httpd/trunk/server/mpm/event/event.c Thu Jan 18 14:56:22 2018
@@ -2676,7 +2676,9 @@ static void child_main(int child_num_arg
 
     /* Just use the standard apr_setup_signal_thread to block all signals
      * from being received.  The child processes no longer use signals for
-     * any communication with the parent process.
+     * any communication with the parent process. Let's also do this before
+     * child_init() hooks are called and possibly create threads that
+     * otherwise could "steal" (implicitely) MPM's signals.
      */
     rv = apr_setup_signal_thread();
     if (rv != APR_SUCCESS) {