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

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

#include <CATMutex.h>

List of all members.


Detailed Description

Defines the interface to mutexes for thread synchronization.

CATMutex provides a per-thread synchronization object. While one thread owns a mutex, 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 mutex twice before releasing it - just make sure to call Release() for each Wait().

Definition at line 27 of file CATMutex.h.


Public Member Functions

 CATMutex ()
virtual ~CATMutex ()
CATResult Wait (CATUInt32 milliseconds=0xFFFFFFFF)
CATResult Release ()

Private Member Functions

CATMutexoperator= (const CATMutex &srcMutex)

Private Attributes

HANDLE fMutexHandle

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