From 79a3c0c99bef839fbb50edb67a32ed339da8c1b8 Mon Sep 17 00:00:00 2001 From: Brian Pane Date: Mon, 24 Nov 2003 01:34:04 +0000 Subject: [PATCH] remove calls to the apr_proc_other_child_read function that no longer exists git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101858 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/beos/beos.c | 3 ++- server/mpm/experimental/leader/leader.c | 3 ++- server/mpm/experimental/perchild/perchild.c | 3 ++- server/mpm/experimental/threadpool/threadpool.c | 3 ++- server/mpm/worker/worker.c | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/server/mpm/beos/beos.c b/server/mpm/beos/beos.c index fa511b2eb4..80fac72500 100644 --- a/server/mpm/beos/beos.c +++ b/server/mpm/beos/beos.c @@ -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 } diff --git a/server/mpm/experimental/leader/leader.c b/server/mpm/experimental/leader/leader.c index 37d9bfae28..c8e10b04f9 100644 --- a/server/mpm/experimental/leader/leader.c +++ b/server/mpm/experimental/leader/leader.c @@ -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 } diff --git a/server/mpm/experimental/perchild/perchild.c b/server/mpm/experimental/perchild/perchild.c index c8350db666..1f744712fa 100644 --- a/server/mpm/experimental/perchild/perchild.c +++ b/server/mpm/experimental/perchild/perchild.c @@ -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 } diff --git a/server/mpm/experimental/threadpool/threadpool.c b/server/mpm/experimental/threadpool/threadpool.c index f54e278557..7f09933477 100644 --- a/server/mpm/experimental/threadpool/threadpool.c +++ b/server/mpm/experimental/threadpool/threadpool.c @@ -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 } diff --git a/server/mpm/worker/worker.c b/server/mpm/worker/worker.c index 7f23efb05e..f918887182 100644 --- a/server/mpm/worker/worker.c +++ b/server/mpm/worker/worker.c @@ -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 } -- 2.50.1