compp::Mutex Class Reference
#include <Mutex.h>
Detailed Description
Definition at line 14 of file Mutex.h.
Constructor & Destructor Documentation
Constructor Creates a mutex with standard setting
Definition at line 18 of file Mutex.cpp.
| compp::Mutex::~Mutex |
( |
|
) |
[virtual] |
Destructor Entirely deletes the Mutex from the system
Definition at line 32 of file Mutex.cpp.
Member Function Documentation
| bool compp::Mutex::Lock |
( |
|
) |
|
Locks a semaphore The method blocks until the semaphore can be locked
Definition at line 41 of file Mutex.cpp.
| bool compp::Mutex::TryLock |
( |
|
) |
|
Trylocks a semaphore The method tries to lock the seamphore. It it is already locked, the method returns false It the Mutlex can be locked, it is locked and true is returned
Definition at line 55 of file Mutex.cpp.
| bool compp::Mutex::UnLock |
( |
|
) |
|
Unlocks the seamphore
Definition at line 66 of file Mutex.cpp.
Field Documentation
The documentation for this class was generated from the following files:
- /home/fb/sf/compp/trunk/ComPP/include/ComPlusPlus/Mutex.h
- /home/fb/sf/compp/trunk/ComPP/ComPlusPlus/Mutex.cpp