diff options
Diffstat (limited to '')
-rw-r--r-- | server/mpm/winnt/child.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/mpm/winnt/child.c b/server/mpm/winnt/child.c index d950869806..4d83252157 100644 --- a/server/mpm/winnt/child.c +++ b/server/mpm/winnt/child.c @@ -1119,8 +1119,7 @@ void child_main(apr_pool_t *pconf) end_time = time(NULL) + 180; while (threads_created) { rv = wait_for_many_objects(threads_created, child_handles, (DWORD)(end_time - time(NULL))); - if (rv != WAIT_TIMEOUT) { - rv = rv - WAIT_OBJECT_0; + if (rv != WAIT_FAILED) { ap_assert((rv >= 0) && (rv < threads_created)); cleanup_thread(child_handles, &threads_created, rv); continue; |