Constructors
Declared in <absl/synchronization/mutex.h>
Acquires mu exclusively if it is non-null.
explicit
MutexLockMaybe(Mutex* mu);
» more...
Acquires mu exclusively once cond holds if it is non-null.
explicit
MutexLockMaybe(
Mutex* mu,
Condition const& cond);
» more...
| Name | Description |
|---|---|
| mu | The mutex to lock, or null for a no-op. |
| cond | The condition to wait for before locking. |