ion/base/lockguards.h
// Releases a lock on the mutex if it was previously locked by this guard.
Releases a lock on the mutex if it was previously locked by this guard.
Releases a lock on the mutex if it was previously locked by this guard .
void Unlock() {
    if (is_locked_) {
      mutex_.Unlock();
      is_locked_ = false;
    }
  }
void Unlock ( ) { if ( is_locked_ ) { mutex_ . Unlock ( ) ; is_locked_ = false ; } }
Releases a lock on the mutex if it was previously locked by this guard.
Releases a lock on the mutex if it was previously locked by this guard .