RE: [PHP-CVS] cvs: php4 /ext/skeleton php_skeleton.h
| From: | Sterling Hughes | Date: | Sat, 18 Nov 2000 17:00:32 +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-2682@lists.php.net to get a copy of this message | ||
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:
Add the ability to access the global handle through a thread safety macro
in ext/skeleton.
-Sterling
sterling Sun Nov 19 08:54:54 2000 EDT
Modified files:
/php4/ext/skeleton php_skeleton.h
Log:
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