Parent Directory
|
Revision Log
|
Patch
--- httpd/httpd/branches/2.2.x/server/mpm/worker/worker.c 2006/09/15 13:19:25 446606
+++ httpd/httpd/branches/2.2.x/server/mpm/worker/worker.c 2007/07/17 14:48:25 556936
@@ -1813,12 +1813,10 @@
active_children = 0;
for (index = 0; index < ap_daemons_limit; ++index) {
- if (MPM_CHILD_PID(index) != 0) {
- if (kill(MPM_CHILD_PID(index), 0) == 0) {
- active_children = 1;
- /* Having just one child is enough to stay around */
- break;
- }
+ if (ap_mpm_safe_kill(MPM_CHILD_PID(index), 0) == APR_SUCCESS) {
+ active_children = 1;
+ /* Having just one child is enough to stay around */
+ break;
}
}
} while (!shutdown_pending && active_children &&
| apache@apache.org | ViewVC Help |
| Powered by ViewVC 1.1.2 |