Re: [PATCH] Raise warning first on "Maximum execution time exceeded"
| From: | troels knak-nielsen | Date: | Mon, 22 Mar 2010 18:37:09 +0000 |
| Subject: | Re: [PATCH] Raise warning first on "Maximum execution time exceeded" | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-47466@lists.php.net to get a copy of this message | ||
On Mon, Mar 22, 2010 at 7:10 PM, Scott MacVicar <scott@macvicar.net> wrote:
>
> Statics are bad, if its in multithreaded mode and two timeouts happen at once you'll get
> some funny behaviour. You need to store this in the thread local storage so the flag is per thread.
>
Thanks. My C is severely rusty; Would it simply be a matter of
dropping the "static" modifier, or do I need to get hold of some kind
of handle and attach the flag to that? In which case, what would be
appropriate?
--
troels