
A lock as a scoped frontend for a mutex. More...
#include <thread.hpp>
Public Member Functions | |
| Lock (Mutex &m0) | |
| Enter lock. More... | |
| ~Lock (void) | |
| Leave lock. More... | |
A lock as a scoped frontend for a mutex.
Definition at line 199 of file thread.hpp.
|
inline |
Enter lock.
Definition at line 89 of file thread.hpp.
|
inline |
Leave lock.
Definition at line 93 of file thread.hpp.