summaryrefslogtreecommitdiff
path: root/Zend/zend_fast_cache.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-28 10:51:54 +0000
committerZeev Suraski <zeev@php.net>2001-07-28 10:51:54 +0000
commitb4f3b9d3ce9f55cf040fb5aa8f201c64646cab43 (patch)
tree8d4a54f5763387c1a31a4e382e07138bcfde4857 /Zend/zend_fast_cache.h
parent633a1c30d115baa6436883ff44fd5abb127e0a7f (diff)
downloadphp-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.h4
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); \