xoreos
0.0.5
|
A mutex. More...
#include <mutex.h>
Public Member Functions | |
Mutex () | |
~Mutex () | |
void | lock () |
void | unlock () |
Private Attributes | |
SDL_mutex * | _mutex |
Friends | |
class | Condition |
void Common::Mutex::lock | ( | ) |
Definition at line 41 of file mutex.cpp.
References _mutex.
Referenced by Graphics::Shader::ShaderManager::getShaderObject(), Graphics::Shader::ShaderManager::getShaderProgram(), Aurora::NWScript::ObjectContainer::lock(), Graphics::QueueManager::lockQueue(), Graphics::Shader::ShaderManager::registerShaderProgram(), Common::StackLock::StackLock(), Common::Condition::wait(), and Events::RequestManager::waitReply().
void Common::Mutex::unlock | ( | ) |
Definition at line 47 of file mutex.cpp.
References _mutex.
Referenced by Graphics::Shader::ShaderManager::getShaderObject(), Graphics::Shader::ShaderManager::getShaderProgram(), Graphics::Shader::ShaderManager::registerShaderProgram(), Aurora::NWScript::ObjectContainer::unlock(), Graphics::QueueManager::unlockQueue(), Common::Condition::wait(), Events::RequestManager::waitReply(), and Common::StackLock::~StackLock().
|
private |