Commit 041d6502 authored by Ryan Bloom's avatar Ryan Bloom
Browse files

Explain the worker MPM


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89938 13f79535-47bb-0310-9956-ffa450edef68
parent 7c5c543d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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.
+7 −0
Original line number Diff line number Diff line
@@ -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"