#include <Thread.hpp>
Public Member Functions | |
MutexGuard (const ThreadMutex &mutex) | |
Constructor Locks the mutex. | |
~MutexGuard () | |
Destructor Unlocks the Mutex, if it is not unlocked before. | |
void | unlock () const |
This method unlocks the Mutex, if this MutexGuard is the owner. | |
void | lock () const |
This method locks the mutex and sets. |
Definition at line 64 of file Thread.hpp.
|
Constructor Locks the mutex.
Definition at line 69 of file Thread.hpp. References lock(). |
|
Destructor Unlocks the Mutex, if it is not unlocked before.
Definition at line 74 of file Thread.hpp. References L1394::ThreadMutex::unlock(). |
|
This method locks the mutex and sets.
Definition at line 82 of file Thread.hpp. References L1394::ThreadMutex::lock(). Referenced by MutexGuard(). |
|
This method unlocks the Mutex, if this MutexGuard is the owner.
Definition at line 78 of file Thread.hpp. References L1394::ThreadMutex::unlock(). |