Re: Zend API doc again
| From: | Andreas Karajannis | Date: | Wed, 28 Jun 2000 14:15:57 +0000 |
| Subject: | Re: Zend API doc again | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-22628@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
>
> SS>> The important part of it is that GINIT functions are called
> SS>> before Apache forks, so that we can initialize a handle which
> SS>> is valid in all children (for the session shared memory
> SS>> storage).
>
> Ah, now I see. Good thing. Is it guaranteed that GINIT is called only once
> (most apache startup callbacks are called twice)?
>
With yesterdays CVS it was called twice...
To be safe, set a static variable in GINIT or check for the existence of
your allocated memory or whatever.
-Andreas
--
Andreas Karajannis
GMD National Research Center for Information Technology
Schloss Birlinghoven, D-53754 Sankt Augustin
Phone +49 2241 142948