|
CoreComponents 3.0.0
A Modern C++ Toolkit
|
Mutex guard More...
#include <cc/Guard>
Public Member Functions | |
| Guard (T &mutex) | |
| Post guard: acquire mutex. | |
| ~Guard () | |
| Disband guard: release mutex. | |
| void | dismiss () |
| Unlock the mutex early. | |
| void | reinstate () |
| Lock mutex, again. | |
Mutex guard
| T | Mutex type |
|
explicit |
Post guard: acquire mutex.
| ~Guard | ( | ) |
Disband guard: release mutex.
| void dismiss | ( | ) |
Unlock the mutex early.
| void reinstate | ( | ) |
Lock mutex, again.