![]() |
My Project
|
Lock for simplifying mutex handling. More...
#include <Lock.h>
Public Member Functions | |
| Lock (Mutex *mutex) | |
| Constructor. More... | |
| ~Lock () | |
| Destructor. | |
Lock for simplifying mutex handling.
Lock class for simplifying mutex handling. Simply pass a mutex to the constructor and the mutex will be locked. When the lock is destroyed, the mutex will be unlocked.