diff options
author | SVN Migration <svn@php.net> | 2000-06-29 13:34:59 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2000-06-29 13:34:59 +0000 |
commit | d26abbcdc9b2decf18e5c8b33ae5be8a08d0d368 (patch) | |
tree | fe3bd08d30845a9510557728022bfa006a62cc53 /Zend/zend_execute_locks.h | |
parent | 01a8f4606ea99e9be92dbd4a27c69330786c7a8c (diff) | |
download | php-git-php-4.0.1pl1.tar.gz |
This commit was manufactured by cvs2svn to create tag 'php_4_0_1pl1'.php-4.0.1pl1
Diffstat (limited to 'Zend/zend_execute_locks.h')
-rw-r--r-- | Zend/zend_execute_locks.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Zend/zend_execute_locks.h b/Zend/zend_execute_locks.h deleted file mode 100644 index b24ec642e9..0000000000 --- a/Zend/zend_execute_locks.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef _ZEND_EXECUTE_LOCKS_H -#define _ZEND_EXECUTE_LOCKS_H - -#define PZVAL_LOCK(z) ((z)->refcount++) -#define PZVAL_UNLOCK(z) { ((z)->refcount--); \ - if (!(z)->refcount) { \ - (z)->refcount = 1; \ - (z)->is_ref = 0; \ - EG(garbage)[EG(garbage_ptr)++] = (z); \ - if (EG(garbage_ptr) == 4) { \ - zval_ptr_dtor(&EG(garbage)[0]); \ - zval_ptr_dtor(&EG(garbage)[1]); \ - EG(garbage)[0] = EG(garbage)[2]; \ - EG(garbage)[1] = EG(garbage)[3]; \ - EG(garbage_ptr) -= 2; \ - } \ - } \ - } - -#define SELECTIVE_PZVAL_LOCK(pzv, pzn) if (!((pzn)->u.EA.type & EXT_TYPE_UNUSED)) { PZVAL_LOCK(pzv); } - -#endif /* _ZEND_EXECUTE_LOCKS_H */ |