]> granicus.if.org Git - apache/commitdiff
reap_children doesn't make sense on a machine without a scoreboard, and it
authorRyan Bloom <rbb@apache.org>
Mon, 8 May 2000 15:36:19 +0000 (15:36 +0000)
committerRyan Bloom <rbb@apache.org>
Mon, 8 May 2000 15:36:19 +0000 (15:36 +0000)
causes compile problems, so it's going away on dexter now.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85167 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/dexter/dexter.c

index 933482bc07edb1f259341df6a5dd6fcfde62be1c..fa57081da411f2266df64a6ec229c875346bce32 100644 (file)
@@ -275,7 +275,7 @@ static void reclaim_child_processes(int terminate)
 #endif
 static int wait_or_timeout_counter;
 
-static ap_proc_t *wait_or_timeout(ap_wait_t *status, ap_pool_t *p)
+static ap_proc_t *wait_or_timeout(ap_pool_t *p)
 {
     struct timeval tv;
     ap_status_t rv;
@@ -295,11 +295,6 @@ static ap_proc_t *wait_or_timeout(ap_wait_t *status, ap_pool_t *p)
     if (rv == APR_CHILD_DONE) {
         return ret;
     }
-#ifdef NEED_WAITPID
-    if ((ret = reap_children(status)) > 0) {
-        return ret;
-    }
-#endif
     tv.tv_sec = SCOREBOARD_MAINTENANCE_INTERVAL / 1000000;
     tv.tv_usec = SCOREBOARD_MAINTENANCE_INTERVAL % 1000000;
     ap_select(0, NULL, NULL, NULL, &tv);
@@ -1089,7 +1084,7 @@ static void server_main_loop(int remaining_children_to_start)
     int i;
 
     while (!restart_pending && !shutdown_pending) {
-        pid = wait_or_timeout(&status, pconf);
+        pid = wait_or_timeout(pconf);
         
         if (pid != NULL) {
             int actual_pid;