]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Follow up to r1821504: same comment in event than in worker.
authorYann Ylavic <ylavic@apache.org>
Thu, 18 Jan 2018 14:56:22 +0000 (14:56 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 18 Jan 2018 14:56:22 +0000 (14:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821505 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/event/event.c

index 783dfabf0befd7554b2d10d5f81f91ed22456277..8065ae287c24ad1e5f7c79ca3c7fc2ab62be2387 100644 (file)
@@ -2676,7 +2676,9 @@ static void child_main(int child_num_arg, int child_bucket)
 
     /* 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) {