Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40001 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30660 invoked from network); 18 Aug 2008 23:53:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Aug 2008 23:53:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.163 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.163 il-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.163] ([212.25.124.163:41472] helo=il-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 58/17-25897-47B0AA84 for ; Mon, 18 Aug 2008 19:53:26 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 19 Aug 2008 02:54:18 +0300 Received: from [192.168.16.110] ([192.168.16.110]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 18 Aug 2008 16:47:00 -0700 Message-ID: <48AA09F4.8080600@zend.com> Date: Mon, 18 Aug 2008 16:47:00 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Arnaud Le Blanc CC: PHP Development References: <200808170419.11153.arnaud.lb@gmail.com> <48A9DAEC.5090001@zend.com> <200808190117.21410.arnaud.lb@gmail.com> In-Reply-To: <200808190117.21410.arnaud.lb@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Aug 2008 23:47:00.0917 (UTC) FILETIME=[B5845E50:01C9018C] Subject: Re: [PHP-DEV] [PATCH] ZTS as fast as non-ZTS From: stas@zend.com (Stanislav Malyshev) 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