Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14868 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23719 invoked by uid 1010); 12 Feb 2005 14:57:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 23703 invoked from network); 12 Feb 2005 14:57:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Feb 2005 14:57:41 -0000 X-Host-Fingerprint: 202.81.246.113 246-113.netfront.net Received: from ([202.81.246.113:42541] helo=newweb.akbkhome.com) by pb1.pair.com (ecelerity 1.2.11 (r4403)) with SMTP id CA/B9-37098-3691E024 for ; Sat, 12 Feb 2005 09:57:40 -0500 Received: from [192.168.0.184] (helo=[192.168.0.184]) by newweb.akbkhome.com with esmtp (Exim 4.44) id 1Czyjm-0006so-O5; Sat, 12 Feb 2005 22:59:11 +0800 Message-ID: <420E19C5.8030600@akbkhome.com> Date: Sat, 12 Feb 2005 22:59:17 +0800 User-Agent: Mozilla Thunderbird 0.8+ (X11/20041030) X-Accept-Language: en-us, en MIME-Version: 1.0 To: taft CC: internals@lists.php.net References: <20050212083315.27626.qmail@lists.php.net> In-Reply-To: <20050212083315.27626.qmail@lists.php.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ACL-Warn: "cleared badlog" Subject: Re: [PHP-DEV] beginer's questions for source code(1) From: alan@akbkhome.com (Alan Knowles) Zend Thread Safety AFAIR, The Basics of the thread saftey stuff are using global arrays indexed on the thread id, rather than just plain globals (no thread safe builds, eg. for apache or cli etc.) There are a few good books with introductions to Internals (Georges, Advanced PHP, is very good, and I think someone will point you towards at least 2 others) There is a section in the manual - Zend API that covers quite alot, and lxr.php.net is very usefull.. Although it would be nice if the source used comments that could be run through doxgen.. (although I'm not voluteering to add them ;) Regards Alan taft wrote: >Hi~ I am a new comer for the internals. >1. #ifdef ZTS what does this mean? ZTS stands for what? >2. can any one kindly give me a detail introduction for the TSRM mechanism > > >