You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2011/03/02 22:16:58 UTC

svn commit: r1076382 - /httpd/httpd/trunk/server/mpm/prefork/prefork.c

Author: trawick
Date: Wed Mar  2 21:16:57 2011
New Revision: 1076382

URL: http://svn.apache.org/viewvc?rev=1076382&view=rev
Log:
prefork: store pid in scoreboard for ONE_PROCESS mode

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

Modified: httpd/httpd/trunk/server/mpm/prefork/prefork.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/prefork/prefork.c?rev=1076382&r1=1076381&r2=1076382&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/prefork/prefork.c (original)
+++ httpd/httpd/trunk/server/mpm/prefork/prefork.c Wed Mar  2 21:16:57 2011
@@ -708,6 +708,7 @@ static int make_child(server_rec *s, int
         apr_signal(SIGQUIT, SIG_DFL);
 #endif
         apr_signal(SIGTERM, sig_term);
+        ap_scoreboard_image->parent[slot].pid = getpid();
         child_main(slot);
         return 0;
     }