/[Apache-SVN]/httpd/httpd/branches/2.2.x/server/mpm/worker/worker.c
ViewVC logotype

Diff of /httpd/httpd/branches/2.2.x/server/mpm/worker/worker.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 446606, Fri Sep 15 13:19:25 2006 UTC revision 556936, Tue Jul 17 14:48:25 2007 UTC
# Line 1813  int ap_mpm_run(apr_pool_t *_pconf, apr_p Line 1813  int ap_mpm_run(apr_pool_t *_pconf, apr_p
1813    
1814              active_children = 0;              active_children = 0;
1815              for (index = 0; index < ap_daemons_limit; ++index) {              for (index = 0; index < ap_daemons_limit; ++index) {
1816                  if (MPM_CHILD_PID(index) != 0) {                  if (ap_mpm_safe_kill(MPM_CHILD_PID(index), 0) == APR_SUCCESS) {
                     if (kill(MPM_CHILD_PID(index), 0) == 0) {  
1817                              active_children = 1;                              active_children = 1;
1818                              /* Having just one child is enough to stay around */                              /* Having just one child is enough to stay around */
1819                              break;                              break;
1820                      }                      }
1821                  }                  }
             }  
1822          } while (!shutdown_pending && active_children &&          } while (!shutdown_pending && active_children &&
1823                   (!ap_graceful_shutdown_timeout || apr_time_now() < cutoff));                   (!ap_graceful_shutdown_timeout || apr_time_now() < cutoff));
1824    

Legend:
Removed from v.446606  
changed lines
  Added in v.556936

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2