Re: shared memory: shm_has_var
| From: | Ignacio Vazquez-Abrams | Date: | Mon, 11 Dec 2000 16:14:45 +0000 |
| Subject: | Re: shared memory: shm_has_var | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-40857@lists.php.net to get a copy of this message | ||
On Mon, 11 Dec 2000, Stanislav Malyshev wrote:
> IV>> > If you shutdown it properly in your request/child shutdown procedures - it
> IV>> > will.
> IV>> >
> IV>>
> IV>> Makes sense. Quick question: How do you do this in PHP?
>
> PHP_MINIT()/PHP_MSHUTDOWN() functions, I guess. Or RINIT/RSHUTDOWN if
> segments should be limited by request scope. But generally for Apache you
> can just pre-delete segment and Apache with killing process will erase
> that segment (unless you have allocated it before fork, i.e. in MINIT, in
> which case you probably have to do MSHUTDOWN).
>
Is there any script-level method of doing it?
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>