Home  |  Linux  | Mysql  | PHP  | XML
From:Stanislav Malyshev Date:Mon Aug 18 17:47:00 2008
Subject:Re: ZTS as fast as non-ZTS
Hi!

> I'm agree with you, but actually TSRM does more that just allocating and 
> storing globals. For instance it keeps track of constructors and destructors 
> so that it can call them automatically when a new thread starts or stops. It 
> also allows to retrieve the globals of an other thread, etc. 

OK, so we still need to register ctors/dtors, but we don't need to 
access globals in a roundabout way anymore.
-- 
Stanislav Malyshev, Zend Software Architect
stas@zend.com   http://www.zend.com/
(408)253-8829   MSN: stas@zend.com
Navigate in group php.internals at sever news.php.net
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants