Mutex Class Reference

#include <mutex.h>

List of all members.


Detailed Description

A mutex provides mutual exclusion of access to certain data that is accessed by multiple threads.

Definition at line 33 of file mutex.h.


Public Member Functions

 Mutex ()
 ~Mutex ()
void lock ()
void unlock ()

Private Member Functions

 Mutex (const Mutex &)
Mutexoperator= (const Mutex &)

Private Attributes

SDL_mutex * mMutex

Constructor & Destructor Documentation

Mutex::Mutex (  )  [inline]

Definition at line 63 of file mutex.h.

Mutex::~Mutex (  )  [inline]

Definition at line 68 of file mutex.h.

Mutex::Mutex ( const Mutex  )  [private]


Member Function Documentation

void Mutex::lock (  )  [inline]

Definition at line 73 of file mutex.h.

void Mutex::unlock (  )  [inline]

Definition at line 79 of file mutex.h.

Mutex& Mutex::operator= ( const Mutex  )  [private]


Member Data Documentation

SDL_mutex* Mutex::mMutex [private]

Definition at line 46 of file mutex.h.


The documentation for this class was generated from the following file:

Generated on Sun Apr 26 17:30:43 2009 for The Mana World by  doxygen 1.5.5