molecular
Public Member Functions | List of all members
molecular::util::StdMutex Class Reference

Locking mechanism for resources accessed by multiple threads. More...

#include <StdThread.h>

Public Member Functions

void Lock ()
 Blocks the caller if this mutex is locked, otherwise locks the mutex. More...
 
void Unlock ()
 Unlocks the mutex. More...
 
std::mutex & Get ()
 

Detailed Description

Locking mechanism for resources accessed by multiple threads.

Member Function Documentation

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

Unlocks the mutex.


The documentation for this class was generated from the following file: