summaryrefslogtreecommitdiffstats
path: root/rubbos/app/httpd-2.0.64/server/mpm/experimental/leader/README
blob: 1981a5beedb5f986cd519ccd4df1624830c2eba5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Leader MPM:
This is an experimental variant of the standard worker MPM.
It uses a Leader/Followers design pattern to coordinate work among threads:
http://deuce.doc.wustl.edu/doc/pspdfs/lf.pdf

To use the leader MPM, add "--with-mpm=leader" to the configure
script's arguments when building the httpd.
  
This MPM depends on APR's atomic compare-and-swap operations for
thread synchronization.  If you are compiling for an x86 target
and you don't need to support 386s, or you're compiling for a
SPARC and you don't need to run on pre-UltraSPARC chips, add
"--enable-nonportable-atomics=yes" to the configure script's
arguments.  This will cause APR to implement atomic operations
using efficient opcodes not available in older CPUs.