stm/ConflictDetector.h
bool shouldValidate()
        {
            if (cached_counter == global_counter)
                return false;

            cached_counter = global_counter;
            return true;
        }
/**
         *  If the counter hasn't changed, we shouldn't validate.  If it has
         *  changed, update the cached_counter and return true.
         */
If the counter hasn't changed, we shouldn't validate.  If it has
changed, update the cached_counter and return true.
If the counter hasn ' t changed we shouldn ' t validate . If it has changed update the cached_counter and return true .
bool shouldValidate()
        {
            if (cached_counter == global_counter)
                return false;
            cached_counter = global_counter;
            return true;
        }
bool shouldValidate ( ) { if ( cached_counter == global_counter ) return false ; cached_counter = global_counter ; return true ; }
If the counter hasn't changed, we shouldn't validate.
If the counter hasn ' t changed we shouldn ' t validate .