Orocos Real-Time Toolkit
2.5.0
|
MutexLock is a scope based Monitor, protecting critical sections with a Mutex object through locking and unlocking it. More...
#include <rtt/os/MutexLock.hpp>
Public Member Functions | |
MutexLock (MutexInterface &mutex) | |
Create a lock on a Mutex object. | |
~MutexLock () | |
Remove a lock from a Mutex object. | |
Protected Attributes | |
MutexInterface * | _mutex |
MutexLock is a scope based Monitor, protecting critical sections with a Mutex object through locking and unlocking it.
Definition at line 51 of file MutexLock.hpp.
RTT::os::MutexLock::MutexLock | ( | MutexInterface & | mutex | ) | [inline] |
Create a lock on a Mutex object.
mutex | The Mutex to be locked. |
Definition at line 60 of file MutexLock.hpp.