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

OW32::CCriticalSection Class Reference

Wrapper around a critical section. More...

#include <SyncObjects.h>

Inheritance diagram for OW32::CCriticalSection:

OW32::CSyncObject List of all members.

Public Member Functions

 CCriticalSection ()
 Constructor that initialises the critical section.
 ~CCriticalSection ()
 Tidy the critical section.
BOOL Lock (DWORD dwTimeout=INFINITE)
 Enter the critical section.
void Unlock ()
 Leave the critical section.

Detailed Description

Wrapper around a critical section.


Member Function Documentation

BOOL OW32::CCriticalSection::Lock DWORD  dwTimeout = INFINITE  )  [inline, virtual]
 

Enter the critical section.

Returns:
TRUE if successful, FALSE otherwise
Parameters:
dwTimeout Unused

Implements OW32::CSyncObject.


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