Re: [PHP-DEV] TSRM coverage question From: World Wide Web Cie (www <email protected>)
Date: 09/19/01

On Wed, 19 Sep 2001, it was written:

> My concern is really with the globals and not the functions, so if two
> threads cant simultaneously step on the same copy of globals referenced by a
> tsrm resource id, then that solves my problem.

Then your problem is solved. Each execution of a script runs in a single
thread, so each set of globals has a single thread working on it.

And AFAIK you can't really do it wrong, since any use of EG(...) macro's
and such (you should use the macro's!) causes a compile warning/error if
there is no TSRMLS.

--Jeroen
PS: You email-adres seems bogus, it starts with @, has spaces in it...

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>