Locking mechanism for resources accessed by multiple threads.
More...
#include <StdThread.h>
|
void | Lock () |
| Blocks the caller if this mutex is locked, otherwise locks the mutex. More...
|
|
void | Unlock () |
| Unlocks the mutex. More...
|
|
std::mutex & | Get () |
|
Locking mechanism for resources accessed by multiple threads.
std::mutex& molecular::util::StdMutex::Get |
( |
| ) |
|
|
inline |
For specialisation of MutexScopeGuard.
void molecular::util::StdMutex::Lock |
( |
| ) |
|
|
inline |
Blocks the caller if this mutex is locked, otherwise locks the mutex.
void molecular::util::StdMutex::Unlock |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /home/travis/build/cmdrf/molecular/molecular-util/molecular/util/StdThread.h