httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davi Arnaut <>
Subject Re: How to detect at runtime if this is a prefork or threaded server?
Date Fri, 13 Oct 2006 16:17:33 GMT
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

View raw message