diff options
author | Andi Gutmans <andi@php.net> | 2002-06-16 17:17:47 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2002-06-16 17:17:47 +0000 |
commit | 380c082e32321b306a42897913b8c13520d0461f (patch) | |
tree | 1b7c67e4d4895a78fce17cfef3f0585dd4a109b7 /Zend/zend_globals.h | |
parent | 19bfe8a3e1aae24049958ddd2167c962490e0c40 (diff) | |
download | php-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.h | 4 |
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 { |