GenApi 3.5.1
Public Member Functions | List of all members

A lock class.

#include <GCSynch.h>

Inheritance diagram for CLock:
CLockEx

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