Changeset 656
- Timestamp:
- 2009-07-31T11:41:19+02:00 (4 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
xcache.c (modified) (3 diffs)
-
xcache_globals.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xcache.c
r653 r656 1629 1629 gc_op_array.arg_info = op_array->arg_info; 1630 1630 #ifdef ZEND_ENGINE_2 1631 zend_ hash_next_index_insert(&XG(gc_op_arrays), (void *) &gc_op_array, sizeof(gc_op_array), NULL);1631 zend_llist_add_element(&XG(gc_op_arrays), (void *) &gc_op_array); 1632 1632 #endif 1633 1633 } … … 1892 1892 1893 1893 #ifdef ZEND_ENGINE_2 1894 zend_ hash_init(&XG(gc_op_arrays), 32, NULL, xc_gc_op_array, 0);1894 zend_llist_init(&XG(gc_op_arrays), sizeof(xc_gc_op_array_t), xc_gc_op_array, 0); 1895 1895 #endif 1896 1896 … … 1910 1910 xc_entry_unholds(TSRMLS_C); 1911 1911 #ifdef ZEND_ENGINE_2 1912 zend_ hash_destroy(&XG(gc_op_arrays));1912 zend_llist_destroy(&XG(gc_op_arrays)); 1913 1913 #endif 1914 1914 xc_gc_expires_php(TSRMLS_C); -
trunk/xcache_globals.h
r588 r656 19 19 20 20 #ifdef ZEND_ENGINE_2 21 HashTablegc_op_arrays;21 zend_llist gc_op_arrays; 22 22 #endif 23 23
Note: See TracChangeset
for help on using the changeset viewer.

