William A. Rowe, Jr. wrote:
Rainer Jung wrote:
I checked installed Apache httpd to find out, how we could detect the
threading model of the apache httpd against we compile. Unfortunately we
can only find out the name of the MPM, but not (at least not in a robust
way) if it is threaded or not.
ap_mpm_query (ap_mpm.h) is what you want. Yes - you can ask
AP_MPMQ_IS_THREADED on win32, netware, unix, etc etc.
I guess no. We are talking about build time, not runtime. I know about
the query API, but here we want to use defines to decide on the type og
lock we are using.
Of course we could do it during runtime with if/than/else, but from the
existing situation I describe for the most prominent platforms my
suggestion should be OK.
Would be a nice add-on for apxs by the way.
Regards,
Rainer
Bill
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]