On Mon, Mar 22, 2010 at 4:55 PM, troels knak-nielsen <troelskn@gmail.com> wrote:
> On Mon, Mar 22, 2010 at 4:41 PM, Herman Radtke <hermanradtke@gmail.com> wrote:
>>> What do you mean by "no option"? Otherwise yes, that's what it does.
>> Using sleep there is not a good practice. Since the custom error
>> handler is triggered, there is no need for the sleep call anyways.
>
> So control isn't returned to the C-code before the php error handler
> finishes. Is that it?
Just checked, and you're right about this. I've made a new patch,
which addresses this. Again, I have no idea about whether I'm
violating code style (Should zend_timeout_softswitch be declared or
named differently?), so comments on that please?
New patch attached - disregard the previous one.
--
troels
Attachment: [text/x-diff] zend_timeout_warning_2.patch