| 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 |
|
|