MutexTimedLock(MutexInterface &mutex, Seconds timeout)
Lock a Mutex object, but don't block longer than a specified timeout.
bool isSuccessful()
Return if the locking of the Mutex was succesfull.
A MutexTimedLock locks a Mutex object on construction and if successful, unlocks it on destruction of...
~MutexTimedLock()
Releases, if any, a lock on the previously try-locked Mutex.
~MutexTryLock()
Releases, if any, a lock on the previously try-locked Mutex.
bool isSuccessful()
Return if the locking of the Mutex was succesfull.
A MutexTryLock tries to lock an Mutex object on construction and if successful, unlocks it on destruc...
MutexTryLock(MutexInterface &mutex)
Try to lock a Mutex object.
MutexInterface * _mutex
The Mutex to lock and unlock.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
MutexInterface * _mutex
The Mutex to lock and unlock.