Changeset 354 for branches/v5/modules


Ignore:
Timestamp:
Apr 5, 2013, 4:28:54 PM (12 years ago)
Author:
cfuguet
Message:

Bugfix in branches/v5/vci_mem_cache
Adding missing condition in ALLOC_UPT_CLEANUP.
If the CLEANUP FSM is in the UPT_DECREMENT state, we
keep the lock on the UPDATE TABLE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/v5/modules/vci_mem_cache/caba/source/src/vci_mem_cache.cpp

    r353 r354  
    64136413      //////////////////////////
    64146414    case ALLOC_UPT_CLEANUP:
    6415       if(r_cleanup_fsm.read() != CLEANUP_UPT_LOCK)
     6415      if((r_cleanup_fsm.read() != CLEANUP_UPT_LOCK     ) &&
     6416         (r_cleanup_fsm.read() != CLEANUP_UPT_DECREMENT))
    64166417      {
    64176418        if((r_cas_fsm.read() == CAS_UPT_LOCK) ||
Note: See TracChangeset for help on using the changeset viewer.