diff options
author | Zeev Suraski <zeev@php.net> | 2001-07-28 10:51:54 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-07-28 10:51:54 +0000 |
commit | b4f3b9d3ce9f55cf040fb5aa8f201c64646cab43 (patch) | |
tree | 8d4a54f5763387c1a31a4e382e07138bcfde4857 /Zend/zend_fast_cache.h | |
parent | 633a1c30d115baa6436883ff44fd5abb127e0a7f (diff) | |
download | php-git-b4f3b9d3ce9f55cf040fb5aa8f201c64646cab43.tar.gz |
Redesigned thread safety mechanism - nua nua
Diffstat (limited to 'Zend/zend_fast_cache.h')
-rw-r--r-- | Zend/zend_fast_cache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_fast_cache.h b/Zend/zend_fast_cache.h index f3e7a15492..a13b5a185f 100644 --- a/Zend/zend_fast_cache.h +++ b/Zend/zend_fast_cache.h @@ -58,7 +58,7 @@ typedef struct _zend_fast_cache_list_entry { #define ZEND_FAST_ALLOC(p, type, fc_type) \ { \ - ALS_FETCH(); \ + TSRMLS_FETCH(); \ \ if (((p) = (type *) AG(fast_cache_list_head)[fc_type])) { \ AG(fast_cache_list_head)[fc_type] = ((zend_fast_cache_list_entry *) AG(fast_cache_list_head)[fc_type])->next; \ @@ -72,7 +72,7 @@ typedef struct _zend_fast_cache_list_entry { #define ZEND_FAST_FREE(p, fc_type) \ { \ - ALS_FETCH(); \ + TSRMLS_FETCH(); \ \ ((zend_fast_cache_list_entry *) (p))->next = (zend_fast_cache_list_entry *) AG(fast_cache_list_head)[fc_type]; \ AG(fast_cache_list_head)[fc_type] = (zend_fast_cache_list_entry *) (p); \ |