Changeset 307 for trunk/xcache.c


Ignore:
Timestamp:
2006-12-09T04:42:09+01:00 (7 years ago)
Author:
moo
Message:

stack interface changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r305 r307  
    606606    for (i = 0; i < cachecount; i ++) { 
    607607        s = &holds[i]; 
    608         TRACE("holded %d", xc_stack_size(s)); 
    609         if (xc_stack_size(s)) { 
     608        TRACE("holded %d", xc_stack_count(s)); 
     609        if (xc_stack_count(s)) { 
    610610            cache = ((xc_entry_t *)xc_stack_top(s))->cache; 
    611611            ENTER_LOCK(cache) { 
    612                 while (xc_stack_size(s)) { 
     612                while (xc_stack_count(s)) { 
    613613                    xce = (xc_entry_t*) xc_stack_pop(s); 
    614614                    TRACE("unhold %s", xce->name.str.val); 
Note: See TracChangeset for help on using the changeset viewer.