Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12667 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3012 invoked by uid 1010); 9 Sep 2004 14:34:54 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 93531 invoked from network); 9 Sep 2004 14:31:18 -0000 Received: from unknown (HELO iko.gotobg.net) (80.168.8.116) by pb1.pair.com with SMTP; 9 Sep 2004 14:31:18 -0000 Received: from pd9519fa4.dip.t-dialin.net ([217.81.159.164] helo=[192.168.0.36]) by iko.gotobg.net with asmtp (Exim 4.41) id 1C5Pvs-0008RQ-63; Thu, 09 Sep 2004 17:29:52 +0300 Message-ID: <414068F4.1080503@hristov.com> Date: Thu, 09 Sep 2004 16:30:12 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a3) Gecko/20040817 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kamesh Jayachandran CC: internals@lists.php.net References: <1094723466.25363.204005102@webmail.messagingengine.com> In-Reply-To: <1094723466.25363.204005102@webmail.messagingengine.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - iko.gotobg.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - hristov.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] info needed regarding TSRM thread local storage From: php@hristov.com (Andrey Hristov) Hi, probably MBO_0 stands for MarcusBOerger_0 . I am not sure whether this was somewehere in the coding standards document, but this means that the programmer has commented the code by using the preprocessor. The programmer has to put his name and a suffix _0 . Usually code commented this way is quite experimental and can lead to problems, but was left for some reason. It looks like this. Andrey Kamesh Jayachandran wrote: > Hi All, > what this MBO_0 mean? > I could see the MBO_0 ifdefs removed in 1.62 version of TSRM.c whether > this change has got anything to do with memory leak fix. > I could see 246888 bytes of leak for each thread. > Even the simple script causes 60 bytes of leak. > > Where and when the thread local storage is freed?. > > With regards > Kamesh Jayachandran >