At 16:58 20/02/2003, [EMAIL PROTECTED] wrote:
> I have a question in regards to page timeouts and how the initial
> I've noticed if a query takes longer than the default 30 seconds to
> execute, php returns a timeout message to the user. From what I can
> tell, php uses the SIGPROF signal to stop execution when the 30
> seconds
> has expired. Also, I've found that it doesn't seem to "unwind" the
> stack

I've reported it as bug #16820 and submited a patch, but no one
answered ...
I think it is better to use the same method as in Windows environment -
set a EG(timeout) flag.
I looked into the bug report, and it is true that BLOCK_INTERRUPTIONS should indeed block SIGPROF. I'll fix this in the weekend.

Zeev


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to