RE: [PHP-CVS] cvs: php4 /ext/skeleton php_skeleton.h
| From: | Andi Gutmans | Date: | Sun, 19 Nov 2000 18:47:02 +0000 |
| Subject: | RE: [PHP-CVS] cvs: php4 /ext/skeleton php_skeleton.h | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-2688@lists.php.net to get a copy of this message | ||
What is this needed for? Do any extensions use something like this?
Andi
At 18:00 18/11/00 +0100, Sterling Hughes wrote:
I apologize for the lack of a commit message, my laptop is griping about it not being able to find an editor (I deserve no mercy, I'm using windows ;) Commit Message:--- Andi Gutmans <andi@zend.com> http://www.zend.com/Add the ability to access the global handle through a thread safety macroin ext/skeleton. -Sterlingsterling Sun Nov 19 08:54:54 2000 EDTModified files:/php4/ext/skeleton php_skeleton.hLog: Index: php4/ext/skeleton/php_skeleton.h diff -u php4/ext/skeleton/php_skeleton.h:1.11 php4/ext/skeleton/php_skeleton.h:1.12--- php4/ext/skeleton/php_skeleton.h:1.11 Thu Oct 5 13:48:12 2000 +++ php4/ext/skeleton/php_skeleton.h Sun Nov 19 08:54:54 2000@@ -43,9 +43,11 @@ */ #ifdef ZTS +#define EXTNAMEG_HANDLE (*extname_globals) #define EXTNAMEG(v) (extname_globals->v) #define EXTNAMELS_FETCH() php_extname_globals *extname_globals = ts_resource(extname_globals_id) #else +#define EXTNAMEG_HANDLE (extname_globals) #define EXTNAMEG(v) (extname_globals.v) #define EXTNAMELS_FETCH() #endif -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net For additional commands, e-mail: php-cvs-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net For additional commands, e-mail: php-cvs-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net