GEOS
|
Class to handle locks using 2 mutexes. More...
#include <MultiMutexesLock.hpp>
Public Member Functions | |
MultiMutexesLock (Mutexes &... mutexes) | |
Construct a multi mutexes lock and lock the mutexes. More... | |
~MultiMutexesLock () | |
Unlock the mutexes and destroy the locks. | |
void | lock () |
Lock the two mutexes using std::lock is not already owning lock. | |
void | unlock () |
Unlock the two mutexes is owning them. | |
Class to handle locks using 2 mutexes.
Definition at line 31 of file MultiMutexesLock.hpp.
|
inline |
Construct a multi mutexes lock and lock the mutexes.
mutexes | The mutexes associated with the lock. |
Definition at line 38 of file MultiMutexesLock.hpp.