Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

OW32::CSyncObject Class Reference

A simple synchronisation object. More...

#include <SyncObjects.h>

Inheritance diagram for OW32::CSyncObject:

OW32::CCriticalSection OW32::CEvent OW32::CMutex OW32::CSemaphore List of all members.

Public Member Functions

virtual BOOL Lock (DWORD dwTimeout=INFINITE)=0
 Lock the object.
virtual void Unlock ()=0
 Unlock the object.

Protected Member Functions

 CSyncObject ()
 Construct an empty sync object.
virtual ~CSyncObject ()=0
 Tidy the sync object.

Detailed Description

A simple synchronisation object.


Member Function Documentation

virtual BOOL OW32::CSyncObject::Lock DWORD  dwTimeout = INFINITE  )  [pure virtual]
 

Lock the object.

Returns:
TRUE if successful, FALSE otherwise
Parameters:
dwTimeout The length of time to wait for lock acquisition

Implemented in OW32::CCriticalSection, OW32::CEvent, OW32::CSemaphore, and OW32::CMutex.


The documentation for this class was generated from the following file:
Generated on Sun Jun 5 01:29:28 2005 for OW32 by  doxygen 1.3.9.1