summaryrefslogtreecommitdiffstats
path: root/rubbos/app/httpd-2.0.64/server/mpm/experimental/leader/README
diff options
context:
space:
mode:
Diffstat (limited to 'rubbos/app/httpd-2.0.64/server/mpm/experimental/leader/README')
-rw-r--r--rubbos/app/httpd-2.0.64/server/mpm/experimental/leader/README15
1 files changed, 15 insertions, 0 deletions
diff --git a/rubbos/app/httpd-2.0.64/server/mpm/experimental/leader/README b/rubbos/app/httpd-2.0.64/server/mpm/experimental/leader/README
new file mode 100644
index 00000000..1981a5be
--- /dev/null
+++ b/rubbos/app/httpd-2.0.64/server/mpm/experimental/leader/README
@@ -0,0 +1,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.