Hi,

The cscope project should help you : http://cscope.sourceforge.net/
----- Original Message ----- From: "Johannes Schlueter" <[EMAIL PROTECTED]>
To: <internals@lists.php.net>
Cc: "Kamesh Jayachandran" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
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



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to