diff options
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r-- | Zend/zend_alloc.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index 9326ce876a..45cace4c4e 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -516,6 +516,16 @@ ZEND_API void _persist_alloc(void *ptr) HANDLE_UNBLOCK_INTERRUPTIONS(); } + +#ifdef ZTS + +void alloc_globals_ctor(zend_alloc_globals *alloc_globals) +{ + start_memory_manager(); +} + + +#endif /* * Local variables: * tab-width: 4 |