/[Apache-SVN]
ViewVC logotype

Revision 1801637


Jump to revision: Previous Next
Author: kotkov
Date: Tue Jul 11 16:51:09 2017 UTC (6 years, 9 months ago)
Changed paths: 1
Log Message:
mpm_winnt: Simplify the shutdown code that was waiting for multiple worker
thread handles in batches.

Starting from r1801636, there is no difference between ending the wait with
one or multiple remaining threads.  This is because we terminate the process
if at least one thread is still active when we hit a timeout.

Therefore, instead of making an effort to evenly distribute and batch the
handles with WaitForMultipleObjects(), we could just start from one end,
and wait for one thread handle at a time.


Changed paths

Path Details
Directoryhttpd/httpd/trunk/server/mpm/winnt/child.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26