]> granicus.if.org Git - apache/commitdiff
remove calls to the apr_proc_other_child_read function that no longer exists
authorBrian Pane <brianp@apache.org>
Mon, 24 Nov 2003 01:34:04 +0000 (01:34 +0000)
committerBrian Pane <brianp@apache.org>
Mon, 24 Nov 2003 01:34:04 +0000 (01:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101858 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/beos/beos.c
server/mpm/experimental/leader/leader.c
server/mpm/experimental/perchild/perchild.c
server/mpm/experimental/threadpool/threadpool.c
server/mpm/worker/worker.c

index fa511b2eb4fec5fca0553866fd768c3d75ff3022..80fac7250088517040bc5e711ec5718ddeef6cf8 100644 (file)
@@ -687,7 +687,8 @@ static void server_main_loop(int remaining_threads_to_start)
                        }
 #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) == 0) {
                /* handled */
 #endif
             }
index 37d9bfae28b352d7b0f8741ef325fe6789271769..c8e10b04f97d329e0aca581dc4cdf460e77dc0fe 100644 (file)
@@ -1422,7 +1422,8 @@ static void server_main_loop(int remaining_children_to_start)
                 }
 #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) == 0) {
                 /* handled */
 #endif
             }
index c8350db6664e7df639ba96d05a660957a27db6d3..1f744712fa54282524f47b85789dad4ae6b3ee2a 100644 (file)
@@ -1223,7 +1223,8 @@ static void server_main_loop(int remaining_children_to_start)
                 }
 #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) == 0) {
             /* handled */
 #endif
             }
index f54e2785571275cf7074eea678a615e66535aaf8..7f0993347735be2e313eb2f4e71b19f5e377d318 100644 (file)
@@ -1671,7 +1671,8 @@ static void server_main_loop(int remaining_children_to_start)
                 }
 #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) == 0) {
                 /* handled */
 #endif
             }
index 7f23efb05e545f7a9f9588bd9ec68b2ab3611588..f9188871823d875c42718bd6627eabc72973f1cb 100644 (file)
@@ -1562,7 +1562,8 @@ static void server_main_loop(int remaining_children_to_start)
                 }
 #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) == 0) {
                 /* handled */
 #endif
             }