Re: cvs: php4 /ext/standard url_scanner.c
| From: | Hartmut Holzgraefe | Date: | Fri, 18 Aug 2000 14:48:35 +0000 |
| Subject: | Re: cvs: php4 /ext/standard url_scanner.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-1224@lists.php.net to get a copy of this message | ||
Sascha Schumann wrote:
>
> sas Fri Aug 18 06:50:04 2000 EDT
>
> Modified files:
> /php4/ext/standard url_scanner.c
> Log:
> Add necessary *_FETCH() macros
>
i'd like to suggest the following addition
to section "[3] Thread safety issues" in apidoc-zend.txt
--- apidoc-zend.txt 1999/12/24 17:39:23 1.3
+++ apidoc-zend.txt 2000/08/18 14:40:17
@@ -150,6 +150,10 @@
Comma, _D stands for Declaration and _DC stands for Declaration
Comma.
Note that there's NO comma between the last argument and ???LS_DC or
???LS_CC.
+If you do not pass the structure as an argument you can always fetch
it by
+using the appropriate ???LS_FETCH() macros within a functions
variable
+declarations.
+
In general, every module that makes use of globals should use this
approach
if it plans to be thread safe.
did i finally get it right ?
--
Hartmut Holzgraefe
hartmut@six.de http://www.six.de +49-711-99091-77 fax:-99