Hi Sander,
thank you very much. This is what I needed to know :-)
Roland
Sander Temme wrote:
On Oct 13, 2006, at 11:10 AM, Roland Genske wrote:
is it possible for a module to detect at runtime whether it runs in
a "prefork" server or in a "worker" (threaded) server? Our module
must behave differently depending on this.
Check out ap_mpm_query(), defined in ap_mpm.h. It can tell you whether
you're running in a threaded MPM, a forked one or one that does both.
Or are we required to provide a separate build for each configuration?
I don't think you should need that.
S.
[EMAIL PROTECTED] http://www.temme.net/sander/
PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF