httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul J. Reder" <rede...@raleigh.ibm.com>
Subject Re: [Patch]: Version 2 of the fix to clean up idle kids properly.
Date Thu, 19 Apr 2001 20:00:10 GMT
Greg Ames wrote:
> 
> "Paul J. Reder" wrote:
> >
> > I believe that this patch addresses all of Greg Ames concerns.
> 
> 
> > +#define I_AM_TO_SHUTDOWN()                                                   \
> > +(ap_scoreboard_image->servers[my_child_num][0].life_status != SB_WORKING)
> > +
> 
> sweet...that will help it go a little faster.  Thanks!
> 
> btw, can we get rid of the the second index ( [0] ) ?  Earlier in 2.0,
> we were allocating 10 scoreboard images; I assume this is some residue.
> 
> Greg

It is my understanding that this is to allow the generic scoreboard to represent
process oriented mpms ([processes][no threads]) as well as thread oriented mpms
([processes][threads]). So for mpms with no threads you just use a 0 in the 
second index.

-- 
Paul J. Reder
-----------------------------------------------------------
"The strength of the Constitution lies entirely in the determination of each
citizen to defend it.  Only if every single citizen feels duty bound to do
his share in this defense are the constitutional rights secure."
-- Albert Einstein

Mime
View raw message