httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colm MacCarthaigh <>
Subject Re: [PATCH 3/6] generation number unset
Date Thu, 04 May 2006 18:02:01 GMT
On Thu, May 04, 2006 at 01:36:54PM -0400, Chris Darroch wrote:
>    This may not be necessary, but I notice that prefork and most of
> the other MPMs set ap_my_generation to an initial value of zero.
> The worker and event MPMs don't, though.

Yes, we don't have any consistency in the actual code here but the
result is always the same as the compiler will make sure that they are
zero-initialised. Although I did hit a curious compiler optimisation bug
which destroyed this assumption a few months back (that bug has since
been fixed though).

It's no mark making the initialisations explicit though anyway.
Colm MacCárthaigh                        Public Key:

View raw message