Re: Feature ./ correction to design flaw request
| From: | Thies C. Arntzen | Date: | Mon, 14 Oct 2002 13:24:34 +0000 |
| Subject: | Re: Feature ./ correction to design flaw request | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89441@lists.php.net to get a copy of this message | ||
On Thu, Oct 10, 2002 at 09:52:50PM +0100, Nick Lindridge wrote:
> Hello,
>
> Although most globals are correctly handled in PHP for thread safety, the
> zend_execute and zend_compile_file hooks are not given slots in any TS
> memory.
>
> It would be beneficial to correctly give these globals TS slots.
why would one want to have different executors/compilers in
different threads?
i can see that there might be a race if an extension
sets/changes zend_execute and/or zend_compile_file while
another thread is serving pages. is that your problem?
re,
tc