BASE::RCMutex Class Reference

Encapsulation of a windows mutex. More...

List of all members.

Public Member Functions

 RCMutex (const TBool bInitialLock=false)
TBool Lock () volatile
TBool TryLock () volatile
TBool Unlock () volatile
HANDLE Handle () const


Detailed Description

Encapsulation of a windows mutex.

Author:
Patrik Stellmann
This class encapsulates the windows mutex. Mutexes are used to ensure that while a specific piece of code is being executed no other thread executes any code that code harm the other execution. The lock-command waits until the emutex is unlocked and then locks it itself so you just need to place a lock of a mutex before the critical code and an unlock after it. Check also RCAutoFreeMutex to ensure the unlock-command is called.


The documentation for this class was generated from the following file:
Generated on Thu Feb 16 12:46:22 2006 for Simulator Bob by  doxygen 1.4.6-NO