#include <strict_lock.hpp>
template<typename Lockable>
template<typename Lockable>
Constructor from a mutex reference.
- Parameters
-
__Effects: Stores a reference to the mutex to lock and locks it. __Throws: Any exception BasicMutex::lock() can throw.
template<typename Lockable>
template<typename Lockable>
Destructor.
__Effects: unlocks the stored mutex.
__Throws
template<typename Lockable>
template<typename Lockable>
- Returns
- whether this lock is locking a mutex.
template<typename Lockable>
The documentation for this class was generated from the following file: