ManaPlus
|
#include <mutex.h>
Public Member Functions | |
Mutex () | |
~Mutex () | |
void | lock () |
void | unlock () |
Private Attributes | |
SDL_mutex * | mMutex |
A mutex provides mutual exclusion of access to certain data that is accessed by multiple threads.
|
inline |
|
inline |
|
inline |
Definition at line 85 of file mutex.h.
References Logger::log(), logger, and mMutex.
Referenced by MutexLocker::MutexLocker().
|
inline |
Definition at line 91 of file mutex.h.
References Logger::log(), logger, and mMutex.
Referenced by MutexLocker::~MutexLocker().
|
private |