absl::MutexLock::MutexLock

Deprecated pointer overload; acquires *mu exclusively.

Synopsis

Declared in <absl/synchronization/mutex.h>

[[deprecated("Use the constructor that takes a reference instead")]]
explicit
MutexLock(Mutex* mu);

WARNING

Deprecated: Use the constructor that takes a reference instead. Use of this entity is allowed but discouraged.

Parameters

NameDescription
muThe mutex to lock; must be dereferenceable.