Changeset 120 for trunk/xcache.c
- Timestamp:
- 2006-09-02T04:08:41+02:00 (7 years ago)
- File:
-
- 1 edited
-
trunk/xcache.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xcache.c
r119 r120 257 257 #define XC_CACHE_APPLY_FUNC(name) void name(xc_cache_t *cache TSRMLS_DC) 258 258 /* call graph: 259 * xc_ php_gc_expires -> xc_gc_expires_var_one -> xc_entry_apply_dmz -> xc_gc_php_entry_expires_dmz260 * xc_ var_gc_expires -> xc_gc_expires_one -> xc_entry_apply_dmz -> xc_gc_var_entry_expires_dmz259 * xc_gc_expires_php -> xc_gc_expires_one -> xc_entry_apply_dmz -> xc_gc_expires_php_entry_dmz 260 * xc_gc_expires_var -> xc_gc_expires_one -> xc_entry_apply_dmz -> xc_gc_expires_var_entry_dmz 261 261 */ 262 static XC_ENTRY_APPLY_FUNC(xc_gc_ php_entry_expires_dmz) /* {{{ */262 static XC_ENTRY_APPLY_FUNC(xc_gc_expires_php_entry_dmz) /* {{{ */ 263 263 { 264 264 #ifdef DEBUG … … 271 271 } 272 272 /* }}} */ 273 static XC_ENTRY_APPLY_FUNC(xc_gc_ var_entry_expires_dmz) /* {{{ */273 static XC_ENTRY_APPLY_FUNC(xc_gc_expires_var_entry_dmz) /* {{{ */ 274 274 { 275 275 if (VAR_ENTRY_EXPIRED(entry)) { … … 294 294 } 295 295 /* }}} */ 296 static void xc_ php_gc_expires(TSRMLS_D) /* {{{ */296 static void xc_gc_expires_php(TSRMLS_D) /* {{{ */ 297 297 { 298 298 int i, c; … … 303 303 304 304 for (i = 0, c = xc_php_hcache.size; i < c; i ++) { 305 xc_gc_expires_one(xc_php_caches[i], xc_php_gc_interval, xc_gc_ php_entry_expires_dmz TSRMLS_CC);306 } 307 } 308 /* }}} */ 309 static void xc_ var_gc_expires(TSRMLS_D) /* {{{ */305 xc_gc_expires_one(xc_php_caches[i], xc_php_gc_interval, xc_gc_expires_php_entry_dmz TSRMLS_CC); 306 } 307 } 308 /* }}} */ 309 static void xc_gc_expires_var(TSRMLS_D) /* {{{ */ 310 310 { 311 311 int i, c; … … 316 316 317 317 for (i = 0, c = xc_var_hcache.size; i < c; i ++) { 318 xc_gc_expires_one(xc_var_caches[i], xc_var_gc_interval, xc_gc_ var_entry_expires_dmz TSRMLS_CC);318 xc_gc_expires_one(xc_var_caches[i], xc_var_gc_interval, xc_gc_expires_var_entry_dmz TSRMLS_CC); 319 319 } 320 320 } … … 1262 1262 { 1263 1263 xc_entry_unholds(TSRMLS_C); 1264 xc_ php_gc_expires(TSRMLS_C);1265 xc_ var_gc_expires(TSRMLS_C);1264 xc_gc_expires_php(TSRMLS_C); 1265 xc_gc_expires_var(TSRMLS_C); 1266 1266 xc_gc_deletes(TSRMLS_C); 1267 1267 #ifdef HAVE_XCACHE_COVERAGER
Note: See TracChangeset
for help on using the changeset viewer.

