AvogadroLibs 1.97.0
|
The Mutex class provides a simple wrapper for the C++11 mutex class. More...
#include <avogadro/core/mutex.h>
Public Member Functions | |
void | lock () |
Obtain an exclusive lock. | |
bool | tryLock () |
Attempt to obtain an exclusive lock. More... | |
void | unlock () |
Unlocks the lock. | |
A very simple, and thin wrapper around the C++11 mutex class, allowing for lock, tryLock and unlock.
bool tryLock | ( | ) |