|
Orocos Real-Time Toolkit
2.9.0
|
SharedMutexLock is a scope based Monitor, protecting critical sections with a SharedMutex object through locking and unlocking it. More...
#include <rtt/os/MutexLock.hpp>
Public Member Functions | |
| SharedMutexLock (MutexInterface &mutex) | |
| Create a shared lock on a SharedMutex object. More... | |
| ~SharedMutexLock () | |
| Remove a lock from a SharedMutex object. More... | |
Protected Member Functions | |
| SharedMutexLock () | |
Protected Attributes | |
| MutexInterface * | _mutex |
SharedMutexLock is a scope based Monitor, protecting critical sections with a SharedMutex object through locking and unlocking it.
Definition at line 204 of file MutexLock.hpp.
|
inline |
Create a shared lock on a SharedMutex object.
| mutex | The Mutex to be locked. |
Definition at line 213 of file MutexLock.hpp.
References RTT::os::MutexInterface::lock_shared().
|
inline |
Remove a lock from a SharedMutex object.
Definition at line 222 of file MutexLock.hpp.
|
inlineprotected |
Definition at line 230 of file MutexLock.hpp.
|
protected |
Definition at line 228 of file MutexLock.hpp.
1.8.11