Re: [RFC] Zend Signal Handling
| From: | Lucas Nealan | Date: | Wed, 13 Aug 2008 09:15:49 +0000 |
| Subject: | Re: [RFC] Zend Signal Handling | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39913@lists.php.net to get a copy of this message | ||
On 8/13/08 2:10 AM, "Dmitry Stogov" <dmitry@zend.com> wrote:
> I wasn't serious about removing them.
>
> Anyway zend_alloc.c and zend_hash.c don't work with shared memory.
> It's possible to reuse zend_alloc.c to allocate blocks from SHM, but
> it's not its primary purpose. If APC don't do it I don't see how this
> block/unblock code may protect SHM. It definitely may protect PHP from
> crashes and memory corruptions during RSHUTDOWN, but only for some cases.
APC directly uses the HANDLE_BLOCK/UNBLOCK_INTERRUPTIONS macros, I assume
other extensions do this as well.
-lucas