A lock class. More...
#include <GCSynch.h>
Public Member Functions | |
| CLock () | |
| Constructor. | |
| ~CLock () | |
| Destructor. | |
| bool | TryLock () |
| tries to enter the critical section; returns true if successful | |
| void | Lock () |
| enters the critical section (may block) | |
| void | Unlock () |
| leaves the critical section | |
A lock class.
| CLock | ( | ) |
Constructor.
| ~CLock | ( | ) |
Destructor.
| 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