<p><span>Available Languages: </span><a href="../en/mod/leader.html" title="English"> en </a> |
<a href="../ko/mod/leader.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
</div>
<table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>An experimental variant of the standard <code class="module"><a href="../mod/worker.html">worker</a></code>
<p>This MPM is experimental, so it may or may not work
as expected.</p>
</div>
<p>This is an experimental variant of the standard
<code class="module"><a href="../mod/worker.html">worker</a></code> MPM. It uses a Leader/Followers design pattern
to coordinate work among threads. For more info, see <a href="http://deuce.doc.wustl.edu/doc/pspdfs/lf.pdf">http://deuce.doc.wustl.edu/doc/pspdfs/lf.pdf</a>.</p>
<p>To use the <code class="module"><a href="../mod/leader.html">leader</a></code> MPM, add
<code>--with-mpm=leader</code> to the configure script's arguments
when building the httpd.</p>
<p>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 are compiling for a
SPARC and you don't need to run on pre-UltraSPARC chips, add
<code>--enable-nonportable-atomics=yes</code> to the configure
script's arguments. This will cause APR to implement atomic operations
using efficient opcodes not available in older CPUs.</p>