diff options
author | Ryan Bloom <rbb@apache.org> | 2001-08-06 15:55:43 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2001-08-06 15:55:43 +0000 |
commit | 6adc4b0641fb4088aa07de70e58ac746bd9f27de (patch) | |
tree | f392cbaa05bb0245cd3628b59e9fee1037c44d2f | |
parent | 0caa23e8dbc404c997cc6fc88405636d8e65a02a (diff) | |
download | httpd-6adc4b0641fb4088aa07de70e58ac746bd9f27de.tar.gz |
Explain the worker MPM
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89938 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | server/mpm/MPM.NAMING | 2 | ||||
-rw-r--r-- | server/mpm/worker/worker.c | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/server/mpm/MPM.NAMING b/server/mpm/MPM.NAMING index 62b60a0328..b6fe5790ce 100644 --- a/server/mpm/MPM.NAMING +++ b/server/mpm/MPM.NAMING @@ -10,4 +10,6 @@ The following MPMs currently exist: threads/child (= Apache/thread) spmt_os2 ...... Single Process Model with Threading on OS/2 winnt ......... Single Process Model with Threading on Windows NT + worker ........ Multi Process model with threads. One acceptor thread, + multiple worker threads. diff --git a/server/mpm/worker/worker.c b/server/mpm/worker/worker.c index 9503611a7c..3d1b8736c1 100644 --- a/server/mpm/worker/worker.c +++ b/server/mpm/worker/worker.c @@ -56,6 +56,13 @@ * University of Illinois, Urbana-Champaign. */ +/* The purpose of this MPM is to fix the design flaws in the threaded + * model. Because of the way that pthreads and mutex locks interact, + * it is basically impossible to cleanly gracefully shutdown a child + * process if multiple threads are all blocked in accept. This model + * fixes those problems. + */ + #include "apr.h" #include "apr_portable.h" #include "apr_strings.h" |