absl::MutexLock::MutexLock

Acquires mu exclusively for the lifetime of this object.

Synopsis

Declared in <absl/synchronization/mutex.h>

explicit
MutexLock(Mutex& mu);

Parameters

NameDescription
muThe mutex to lock.