An RAII-style reverse lock. Unlocks on construction and locks on destruction.
Declared in <sync.h>
class [[scoped_lockable]] reverse_lock;
| Name | Description |
|---|---|
reverse_lock [constructor] | Unlock the wrapped lock, to be re-locked when this object is destroyed. |
~reverse_lock [destructor] | Re-acquire the wrapped lock that was released on construction. |