absl::ReaderMutexLock::ReaderMutexLock

Deprecated pointer overload; acquires a shared lock on *mu.

Synopsis

Declared in <absl/synchronization/mutex.h>

[[deprecated("Use the constructor that takes a reference instead")]]
explicit
ReaderMutexLock(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.