GenApi  3.5.1
Public Member Functions | List of all members

A lock class.

Inherited by 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