summaryrefslogtreecommitdiff
path: root/Zend/zend_globals.h
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2002-06-16 17:17:47 +0000
committerAndi Gutmans <andi@php.net>2002-06-16 17:17:47 +0000
commit380c082e32321b306a42897913b8c13520d0461f (patch)
tree1b7c67e4d4895a78fce17cfef3f0585dd4a109b7 /Zend/zend_globals.h
parent19bfe8a3e1aae24049958ddd2167c962490e0c40 (diff)
downloadphp-git-380c082e32321b306a42897913b8c13520d0461f.tar.gz
- Commit an initial version of a home made memory manager.
- It's just for seeing if this would be an advantage to PHP in MT - environments. If this is to become production material there is still - a long way to go.
Diffstat (limited to 'Zend/zend_globals.h')
-rw-r--r--Zend/zend_globals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_globals.h b/Zend/zend_globals.h
index b133dfe5c0..8c3e53f016 100644
--- a/Zend/zend_globals.h
+++ b/Zend/zend_globals.h
@@ -209,6 +209,7 @@ struct _zend_executor_globals {
void *reserved[ZEND_MAX_RESERVED_RESOURCES];
};
+#include "zend_mm.h"
struct _zend_alloc_globals {
zend_mem_header *head; /* standard list */
@@ -232,6 +233,9 @@ struct _zend_alloc_globals {
unsigned int allocated_memory_peak;
unsigned char memory_exhausted;
#endif
+#if ZEND_MM
+ zend_mm_heap mm_heap;
+#endif
};
struct _zend_scanner_globals {