Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22732 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63787 invoked by uid 1010); 13 Apr 2006 10:41:05 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63772 invoked from network); 13 Apr 2006 10:41:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2006 10:41:05 -0000 X-Host-Fingerprint: 193.252.22.54 smtp13.wanadoo.fr Linux 2.4/2.6 Received: from ([193.252.22.54:3717] helo=smtp13.wanadoo.fr) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id DE/0E-19715-FBA2E344 for ; Thu, 13 Apr 2006 06:41:03 -0400 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1309.wanadoo.fr (SMTP Server) with ESMTP id AD58A70000A8 for ; Thu, 13 Apr 2006 12:40:59 +0200 (CEST) Received: from binarysecfb111 (AStDenis-105-1-48-99.w80-8.abo.wanadoo.fr [80.8.176.99]) by mwinf1309.wanadoo.fr (SMTP Server) with SMTP id D19DE70000A5; Thu, 13 Apr 2006 12:40:57 +0200 (CEST) X-ME-UUID: 20060413104057858.D19DE70000A5@mwinf1309.wanadoo.fr Message-ID: <001401c65ee6$738653f0$6700a8c0@binarysecfb111> To: "Johannes Schlueter" , Cc: "Kamesh Jayachandran" , References: <46894.67.184.121.112.1144914867.squirrel@www.l-i-e.com> <443E09B0.3070902@fastmail.fm> <200604131029.44095.johannes@php.net> Date: Thu, 13 Apr 2006 12:38:47 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Subject: Re: [PHP-DEV] tsrm_ls From: mv-php@binarysec.com ("Michael Vergoz") Hi, The cscope project should help you : http://cscope.sourceforge.net/ ----- Original Message ----- From: "Johannes Schlueter" To: Cc: "Kamesh Jayachandran" ; Sent: Thursday, April 13, 2006 10:29 AM Subject: Re: [PHP-DEV] tsrm_ls > Hi, > > TSRM is the thread-safe resource manager. you can find it at the TSRM CVS > module which should be at php-src/TSRM at your checkout. > > TSRM is a mechanism to hold thread safeglobal variables in an threaded > environment. See articles about extension writing or the releavant books > for > more. > > A few pointers for material: > http://www.zend.com/php/internals/extension-writing1.php#Heading9 > Schlossnagle, George: Advanced PHP Programming (ISBN: 0672325616) > Golemon, Sara: Extending and Embedding PHP (ISBN: 067232704X) > > btw. LS means "local storage", not list. > > johannes > > On Thursday 13 April 2006 10:20, Kamesh Jayachandran wrote: >> Hi Richard, >> I think LS=LIST >> CC=Comma(,) Call (, tsrm_ls) >> DC = Comma(,) Declare(, void ***tsrm_ls) >> >> With regards >> Kamesh Jayachandran >> >> Richard Lynch wrote: >> > I'm trying to grok PHP Source, and I suspect I've missed some >> > "Beginner" guide somewhere. >> > >> > I'm looking at the TSRM*_* data types in the header files, and have >> > backtracked as far as 'tsrm_ls' and then... I'm not finding a place >> > where that is defined. >> > >> > I've grepped php-src for it, and only see it used, not defined. >> > >> > I also grepped /usr/include and /usr/local/include, thinking maybe >> > it's a standard OS thing. >> > >> > I know TSRM is thread-safe-resource-manager, but the LS_DC LS_CC etc >> > system isn't getting into my brain... L for Long? S for string? >> > >> > What am I missing? >> > >> > TIA! (Hoping to do something useful someday...) > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >