ion/base/lockguards.h
// Returns the current value of the variable. This blocks if the mutex is
// already locked.
Returns the current value of the variable. This blocks if the mutex is
already locked.
Returns the current value of the variable . This blocks if the mutex is already locked .
const T GetCurrentValue() {
    Lock();
    T ret = current_value_;
    Unlock();
    return ret;
  }
const T GetCurrentValue ( ) { Lock ( ) ; T ret = current_value_ ; Unlock ( ) ; return ret ; }
Returns the current value of the variable.
Returns the current value of the variable .