absl::ReaderMutexLock::ReaderMutexLock

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

Synopsis

Declared in <absl/synchronization/mutex.h>

[[deprecated("Use the constructor that takes a reference instead")]]
explicit
ReaderMutexLock(
    Mutex* mu,
    Condition const& cond);

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.
condThe condition to wait for before locking.