mx::mxMutex Class Reference
#include <mxthread.h>
List of all members.
Detailed Description
encapsulation of SDL_mutex
Definition at line 33 of file mxthread.h.
Constructor & Destructor Documentation
constructor
Definition at line 36 of file mxthread.cpp.
00037 {
00038 m = SDL_CreateMutex();
00039 }
Member Function Documentation
| int mx::mxMutex::lockMutex |
( |
|
) |
|
lockMutex locks the mutex
Definition at line 47 of file mxthread.cpp.
00048 {
00049 return SDL_mutexP(m);
00050 }
| int mx::mxMutex::unlockMutex |
( |
|
) |
|
unlockMutex unlocks the mutex
Definition at line 52 of file mxthread.cpp.
00053 {
00054
00055 return SDL_mutexV(m);
00056 }
The documentation for this class was generated from the following files: