[#absl-ReaderMutexLock-2constructor-092] = xref:absl.adoc[absl]::xref:absl/ReaderMutexLock.adoc[ReaderMutexLock]::ReaderMutexLock :relfileprefix: ../../ :mrdocs: Deprecated pointer overload; acquires a shared lock on `*mu` once `cond` holds. == Synopsis Declared in `<absl/synchronization/mutex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated("Use the constructor that takes a reference instead")]] explicit ReaderMutexLock( xref:absl/Mutex.adoc[Mutex]* mu, xref:absl/Condition.adoc[Condition] const& cond); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]: Use the constructor that takes a reference instead. Use of this entity is allowed but discouraged. ==== == Parameters [cols="1,4"] |=== | Name| Description | *mu* | The mutex to lock; must be dereferenceable. | *cond* | The condition to wait for before locking. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#