httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Genske <...@marxmeier.com>
Subject Re: How to detect at runtime if this is a prefork or threaded server?
Date Fri, 13 Oct 2006 16:21:43 GMT
Hello Davi,

great, thank you very much!

Roland

Davi Arnaut wrote:
> Roland Genske wrote:
>> Hello all,
>>
>> 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.
> 
> ap_mpm_query() with AP_MPMQ_IS_FORKED or AP_MPMQ_IS_THREADED.
> 
> --
> Davi Arnaut


Mime
View raw message