Re: [PHP4BETA] Global startup
| From: | Andreas Karajannis | Date: | Thu, 16 Mar 2000 11:50:14 +0000 |
| Subject: | Re: [PHP4BETA] Global startup | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12227@lists.php.net to get a copy of this message | ||
Till Gerken wrote:
>
> Hello,
>
> when will the global startup (shutdown) functions be called and what is
> their difference to module startup (shutdown) functions?
>
At present, it seems they are, at least with apache, not called at all.
This is why sessions don't work with shared memory (mm).
I think this hook is mainly for multithreaded servers to allow
initialization of resources shared by all subsequent threads.
When a new thread is created, the module startup functions do per thread
initialization.
-Andreas
--
Andreas Karajannis
GMD National Research Center for Information Technology
Schloss Birlinghoven, D-53754 Sankt Augustin
Phone +49 2241 142948