Date: 09/19/01
- Next message: World Wide Web Cie: "Re: [PHP-DEV] TSRM coverage question"
- Previous message: Stig Sæther Bakken: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/msession CREDITS Makefile Makefile.inREADME config.m4 libs.mk msession.c msession.php php_msession.hreqclient.h"
- In reply to: \: "Re: [PHP-DEV] TSRM coverage question"
- Next in thread: World Wide Web Cie: "Re: [PHP-DEV] TSRM coverage question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: World Wide Web Cie: "Re: [PHP-DEV] TSRM coverage question"
- Previous message: Stig Sæther Bakken: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/msession CREDITS Makefile Makefile.inREADME config.m4 libs.mk msession.c msession.php php_msession.hreqclient.h"
- In reply to: \: "Re: [PHP-DEV] TSRM coverage question"
- Next in thread: World Wide Web Cie: "Re: [PHP-DEV] TSRM coverage question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

