RAII mutex locking. More...
#include <mutexInterface.hpp>
Public Types | |
using | Mutex = T_Mutex |
See Lock. | |
Public Member Functions | |
Lock (Mutex &mutex) | |
~Lock () | |
Destructor. Unlocks the mutex. | |
RAII mutex locking.
T_Mutex | The underlying mutex type. |
|
inline |
Constructor. Locks the mutex.
mutex | The mutex to be locked. |