]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
build with latest other-child API changes
authorJeff Trawick <trawick@apache.org>
Sat, 22 Nov 2003 20:43:25 +0000 (20:43 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 22 Nov 2003 20:43:25 +0000 (20:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101848 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/prefork/prefork.c
server/mpm_common.c

index c06b258dd4278852f4fcb40cdc4339f638b9d24e..e447e9c20fe4416c9dd4cc269d77cc354e86e2a4 100644 (file)
@@ -1044,7 +1044,7 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s)
                }
 #if APR_HAS_OTHER_CHILD
            }
-           else if (apr_proc_other_child_read(&pid, status) == 0) {
+           else if (apr_proc_other_child_alert(&pid, APR_OC_REASON_DEATH, status) == APR_SUCCESS) {
                /* handled */
 #endif
            }
index 214c1be94f0fe2b8c6c0ab2e546c3c9db2db3d00..51ba206e7775146edc6e02b32752990637fad579 100644 (file)
@@ -193,7 +193,7 @@ void ap_reclaim_child_processes(int terminate)
         }
 
 #if APR_HAS_OTHER_CHILD
-        apr_proc_other_child_check();
+        apr_proc_other_child_refresh_all(APR_OC_REASON_RESTART);
 #endif
 
         if (!not_dead_yet) {