libcommonc++  0.7
Lock Class Referenceabstract

An abstract base class for synchronization primitives. More...

#include <Lock.h++>

Inheritance diagram for Lock:

Public Member Functions

virtual ~Lock ()
 Destructor. More...
 
virtual void lock ()=0
 Lock operation. More...
 
virtual void unlock ()=0
 Unlock operation. More...
 

Detailed Description

An abstract base class for synchronization primitives.

Author
Mark Lindner

Constructor & Destructor Documentation

◆ ~Lock()

virtual ~Lock ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ lock()

virtual void lock ( )
pure virtual

Lock operation.

Implemented in Semaphore, Mutex, and CriticalSection.

◆ unlock()

virtual void unlock ( )
pure virtual

Unlock operation.

Implemented in Semaphore, Mutex, and CriticalSection.


The documentation for this class was generated from the following file: