Re: [PATCH] ZTS as fast as non-ZTS

From: Date: Mon, 18 Aug 2008 23:47:00 +0000
Subject: Re: [PATCH] ZTS as fast as non-ZTS
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-40001@lists.php.net to get a copy of this message
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

« previous php.internals (#40001) next »