C++11 compliant implementation of unique lock. More...
C++11 compliant implementation of unique lock.
#include <mutex.hpp>
Public Types | |
| using | mutex_type = Mutex | 
| The type of Mutex used by the lock_guard.   | |
Public Member Functions | |
| lock_guard (mutex_type &mtx) | |
| Constructs a lock_gurad from a Mutex and locks it.   | |
| lock_guard (mutex_type &mtx, adopt_lock_t) | |
| Constructs a lock_guard from a Mutex, acquireing ownership without locking it.   | |
| using riot::lock_guard< Mutex >::mutex_type = Mutex | 
The type of Mutex used by the lock_guard.
      
  | 
  inlineexplicit | 
      
  | 
  inline | 
Constructs a lock_guard from a Mutex, acquireing ownership without locking it.
      
  | 
  inline |