Arvind Srinivasan wrote:
> Some popular Unix distros package two httpd binaries - one built with
> the prefork MPM and the other built with the worker MPM - but only one
> set of libraries and modules. I assume the libraries and modules are the
> ones compiled for the worker mpm.
> 
> Is the performance impact of the APR_HAS_THREADS code blocks in these
> libraries/modules small/neglible as opposed to if they had been built
> for the prefork MPM?

Negligible with a few exceptions.  PHP is one of them, it becomes quite
bulky when you --enable-zts.

Yes, a module built for worker will work against prefork MPM, if the
prefork MPM has been built against a threaded APR.

Bill

Reply via email to