httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harrie Hazewinkel <har...@covalent.net>
Subject Re: [PATCH] mpm_query
Date Wed, 11 Apr 2001 17:38:19 GMT
rbb@covalent.net wrote:
[snip]
> 
> Why is this useful?  Isn't it more useful to know whether it is threaded
> or process based.  Between that information and the OS, is that enough?  I
> would rather add information like THREADS_DYNAMIC or THREADS_STATIC and
> PROCESSES_DYNAMIC or PROCESSES_STATIC, to basically say if the number of
> threads/process is static or not, and if the number of processes is
> static.
> 
> I want to decouple the MPM query function from an actual name.  The goal
> should be to report the properties of the MPM, not which exact MPM was
> used.  Once that is done, the need for the string disappears.

That means, you cannot determine the MPM used. The values
IS_THREADED and IS_FORKED are not uniquely identifying.
The MPM type determines how the threads and processes are
handled. For instance, perchild and threaded are both
IS_THREADED == 1 and IS_FORKED == 1.

Harrie
-- 
phone: +39-3474932300
http://www.lisanza.net/

Mime
View raw message