Re: ZTS - why are you using it?
| From: | Stas Malyshev | Date: | Wed, 30 Jan 2013 06:46:34 +0000 |
| Subject: | Re: ZTS - why are you using it? | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-65474@lists.php.net to get a copy of this message | ||
Hi!
> Right, but they do not give up thread safety. See "Thread State and
> the Global Interpreter Lock" in:
>
> http://docs.python.org/2/c-api/init.html
That's whole different concept of thread safety. It's basically saying
"you can do anything you want outside of Python engine but only one
thread can do Python at the same time". If we created GIL in PHP, most
of our threading problems probably would go away, but it's not likely it
would be of any use for IIS or any webserver.
> The TS model in php should be redesigned in the next major version,
> instead of simply giving it up.
Again, I'd not mind seeing this redesign, but do we have somebody who's
actually going to do that?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227