diff options
author | Evgeny Kotkov <kotkov@apache.org> | 2017-07-12 18:02:39 +0200 |
---|---|---|
committer | Evgeny Kotkov <kotkov@apache.org> | 2017-07-12 18:02:39 +0200 |
commit | 0c496a080bf2536a8b04d42097ba4bcf62de1dd4 (patch) | |
tree | 4905eff94b18f1565d2323a101924e99b3c3a691 /docs | |
parent | mpm_winnt: Following up on r1801655, add a comment that explains the (diff) | |
download | apache2-0c496a080bf2536a8b04d42097ba4bcf62de1dd4.tar.xz apache2-0c496a080bf2536a8b04d42097ba4bcf62de1dd4.zip |
mpm_winnt: Tweak the listener shutdown code to use a separate event
instead of the global variable (shutdown_in_progress).
This change has two purposes. First of all, it makes the listener threads
which are blocked waiting for a completion context exit immediately during
shutdown. Previously, such threads would only check for exit every second.
The second reason for this change is to put the child_main() function in
charge of controlling the listeners life cycle. Previously, such relation
was circumvented by the fact that the listeners were also waiting for the
global child exit_event. With the new separate listener_shutdown_event,
only the child_main() function is responsible for shutting down the
listeners, and I think that this makes the code a bit clearer.
All the original behavior, including the special APLOG_DEBUG diagnostic
message when we fail to acquire a free completion context in 1 second,
is kept unchanged.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1801747 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs')
-rw-r--r-- | docs/log-message-tags/next-number | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/log-message-tags/next-number b/docs/log-message-tags/next-number index af0d566a15..6a6c1a497e 100644 --- a/docs/log-message-tags/next-number +++ b/docs/log-message-tags/next-number @@ -1 +1 @@ -10035 +10036 |