#include <mutex.hh>
Inheritance diagram for mpcl::system::TMutex:
Public Methods | |
TMutex (void) throw (TErrorException) | |
Builds a new instance. | |
~TMutex () throw (TErrorException) | |
Destroys the instance. | |
void | lock (void) throw (TErrorException) |
Lock mutex. | |
void | unlock (void) throw (TErrorException) |
Unlock mutex. | |
bool | tryLock (void) |
Friends | |
class | TCondition |
For accessing tPosixId from TCondition. |
Definition at line 47 of file posix_1/mutex.hh.
|
Lock mutex if unlocked, if not, then it returns false.
Implements mpcl::system::IMutex. Definition at line 112 of file posix_1/mutex.hh. |