Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATCritSec Class Reference

CATCritSec Class Reference
[Common Accessibility Technology [CAT] library]

#include <CATCritSec.h>

List of all members.


Detailed Description

Defines the interface to critical sections for thread synchronization.

CATCritSec provides a per-thread synchronization object. While one thread owns a critical section, another may not receive it and will have to wait until it is released. A single thread, however, will not be forced to wait if it tries to acquire the critical section twice before releasing it - just make sure to call Release() for each Wait().

Definition at line 27 of file CATCritSec.h.


Public Member Functions

 CATCritSec ()
virtual ~CATCritSec ()
void Wait ()
void Release ()

Private Member Functions

CATCritSecoperator= (const CATCritSec &)

Private Attributes

CRITICAL_SECTION fCritSec

The documentation for this class was generated from the following files:
Generated on Mon Feb 11 04:10:25 2008 for Game Accessibility Suite by doxygen 1.5.4