91 return _mutex.try_lock();
Dynamic array container wrapping std::vector.
Definition list.h:40
RAII scoped locker for Mutex.
Definition mutex.h:41
Locker(Mutex &mutex)
Constructs a Locker and locks the given mutex.
Definition mutex.h:47
~Locker()
Destructor. Unlocks the mutex.
Definition mutex.h:52
Mutual exclusion lock wrapping std::mutex.
Definition mutex.h:33
Mutex()=default
Constructs an unlocked mutex.
void unlock()
Unlocks the mutex.
Definition mutex.h:82
bool tryLock()
Attempts to lock the mutex without blocking.
Definition mutex.h:90
void lock()
Locks the mutex. Blocks if already locked by another thread.
Definition mutex.h:77
~Mutex()=default
Destructor.
Condition variable wrapping std::condition_variable.
Definition waitcondition.h:26
#define PROMEKI_NAMESPACE_BEGIN
Starts a promeki namespace block.
Definition namespace.h:14
#define PROMEKI_NAMESPACE_END
Ends a promeki namespace block.
Definition namespace.h:19