RAII helper like MutexLock that also permits releasing the mutex before destruction.
Declared in <absl/synchronization/mutex.h>
class ReleasableMutexLock;
| Name | Description |
|---|---|
ReleasableMutexLock [constructor] | Constructors |
~ReleasableMutexLock [destructor] | Releases the held mutex if it has not already been released. |
Release | Releases the held mutex before destruction. May be called at most once. |