|
roo_threads
API Documentation for roo_threads
|
#include <mutex_api.h>
Public Types | |
| using | mutex_type = Mutex |
| Type of wrapped mutex. | |
Public Member Functions | |
| lock_guard (mutex_type &mutex) | |
| Acquires mutex on construction. | |
| ~lock_guard () | |
| Releases mutex on destruction. | |
Definition at line 33 of file mutex_api.h.
Type of wrapped mutex.
Definition at line 36 of file mutex_api.h.
|
explicit |
Acquires mutex on construction.
| mutex | mutex to lock. |
| roo_threads::doc::lock_guard< Mutex >::~lock_guard | ( | ) |
Releases mutex on destruction.