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

Synopsis

Declared in <absl/synchronization/mutex.h>

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

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

Parameters

Name

Description

mu

The mutex to lock; must be dereferenceable.

Created with MrDocs