From ee08b81aabcbc65c9b10b535f028b3654b732e4a Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Sun, 16 Jan 2000 20:59:03 +0000 Subject: - Make zend_hash_apply() (and friends) reentrant and much, much quicker - Introduce zend_hash_graceful_destroy(), which allows the destructor functions to use zend_hash_apply() and/or zend_hash_graceful_destroy() - Switch to zend_hash_graceful_destroy() in the resource list shutdowns --- Zend/zend_list.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Zend/zend_list.h') diff --git a/Zend/zend_list.h b/Zend/zend_list.h index ac0b4038e5..816b52e398 100644 --- a/Zend/zend_list.h +++ b/Zend/zend_list.h @@ -52,8 +52,8 @@ int plist_entry_destructor(void *ptr); int clean_module_resource_destructors(list_destructors_entry *ld, int *module_number); int init_resource_list(ELS_D); int init_resource_plist(ELS_D); -void destroy_resource_list(void); -void destroy_resource_plist(void); +void destroy_resource_list(ELS_D); +void destroy_resource_plist(ELS_D); ZEND_API int zend_list_insert(void *ptr, int type); ZEND_API int zend_plist_insert(void *ptr, int type); -- cgit v1.2.1