RE: [PHP-CVS] cvs: php4 /ext/skeleton php_skeleton.h
| From: | Sterling Hughes | Date: | Sat, 18 Nov 2000 23:34: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-2692@lists.php.net to get a copy of this message | ||
Sablotron will when I commit the next version (improved error handling,
reusing a single processor for increased performance). Its nice if you need
to pass a handle (ie, le_sablot or SABLOTG) that both have the same entries.
-Sterling
-----Original Message-----
From: Andi Gutmans [mailto:andi@zend.com]
Sent: Sunday, November 19, 2000 7:47 PM
To: Sterling Hughes; php-cvs@lists.php.net
Subject: RE: [PHP-CVS] cvs: php4 /ext/skeleton php_skeleton.h
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:
>
> 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
>
>
>
>--
>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
---
Andi Gutmans <andi@zend.com>
http://www.zend.com/
--
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