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