A lock class. More...
#include <Synch.h>

Public Member Functions | |
| CLock () | |
| Constructor. | |
| void | Lock () |
| enters the critical section (may block) | |
| bool | TryLock () |
| tries to enter the critical section; returns true if successful | |
| void | Unlock () |
| leaves the critical section | |
| ~CLock () | |
| Destructor. | |
Private Member Functions | |
| CLock (const CLock &) | |
| no copy constructor | |
| CLock & | operator= (const CLock &) |
| no assignment operator | |
Constructor.
Destructor.
| GENAPI_NAMESPACE::CLock::CLock | ( | const CLock & | ) | [private] |
no copy constructor
| void GENAPI_NAMESPACE::CLock::Lock | ( | ) |
enters the critical section (may block)
tries to enter the critical section; returns true if successful
| void GENAPI_NAMESPACE::CLock::Unlock | ( | ) |
leaves the critical section