Re: TSRM coverage question
| From: | World Wide Web Cie | Date: | Thu, 20 Sep 2001 00:51:30 +0000 |
| Subject: | Re: TSRM coverage question | ||
| References: | 1 2 3 4 | Groups: | php.dev php.dev |
| Request: | Send a blank email to php-dev+get-66244@lists.php.net to get a copy of this message | ||
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...