#include <llthread.h>
Inheritance diagram for LLMutex:
Public Member Functions | |
LLMutex (apr_pool_t *apr_poolp) | |
~LLMutex () | |
void | lock () |
void | unlock () |
bool | isLocked () |
Protected Attributes | |
apr_thread_mutex_t * | mAPRMutexp |
apr_pool_t * | mAPRPoolp |
BOOL | mIsLocalPool |
Definition at line 127 of file llthread.h.
LLMutex::LLMutex | ( | apr_pool_t * | apr_poolp | ) |
Definition at line 259 of file llthread.cpp.
References FALSE, mAPRMutexp, mAPRPoolp, mIsLocalPool, NULL, and TRUE.
LLMutex::~LLMutex | ( | ) |
Definition at line 276 of file llthread.cpp.
References isLocked(), llassert, mAPRMutexp, mAPRPoolp, mIsLocalPool, and NULL.
bool LLMutex::isLocked | ( | ) |
Definition at line 300 of file llthread.cpp.
References mAPRMutexp.
Referenced by ~LLMutex(), and LLVFS::~LLVFS().
void LLMutex::lock | ( | ) |
Definition at line 290 of file llthread.cpp.
References mAPRMutexp.
Referenced by LLWorkerClass::abortWork(), LLWorkerClass::addWork(), LLThread::checkPause(), LLVolumeMgr::cleanup(), LLVolumeMgr::cleanupVolume(), LLWorkerThread::deleteWorker(), LLVolumeMgr::dump(), LLVolumeMgr::getVolume(), LLMutexLock::LLMutexLock(), LLVFS::lockData(), LLThread::lockData(), LLTextureCache::lockHeaders(), LLTextureFetch::lockQueue(), LLTextureFetchWorker::lockWorkData(), LLTextureCache::lockWorkers(), operator<<(), LLThreadSafeRefCount::ref(), LLWorkerClass::scheduleDelete(), LLWorkerClass::setPriority(), LLThread::setQuitting(), LLWorkerClass::setWorkerThread(), LLWorkerClass::setWorking(), LLThreadSafeRefCount::unref(), LLWorkerThread::update(), LLTextureCache::update(), LLThread::wake(), and LLWorkerClass::yield().
void LLMutex::unlock | ( | ) |
Definition at line 295 of file llthread.cpp.
References mAPRMutexp.
Referenced by LLWorkerClass::abortWork(), LLWorkerClass::addWork(), LLThread::checkPause(), LLVolumeMgr::cleanup(), LLVolumeMgr::cleanupVolume(), LLWorkerThread::deleteWorker(), LLVolumeMgr::dump(), LLVolumeMgr::getVolume(), operator<<(), LLThreadSafeRefCount::ref(), LLWorkerClass::scheduleDelete(), LLWorkerClass::setPriority(), LLThread::setQuitting(), LLWorkerClass::setWorkerThread(), LLWorkerClass::setWorking(), LLVFS::unlockData(), LLThread::unlockData(), LLTextureCache::unlockHeaders(), LLTextureFetch::unlockQueue(), LLTextureFetchWorker::unlockWorkData(), LLTextureCache::unlockWorkers(), LLThreadSafeRefCount::unref(), LLWorkerThread::update(), LLTextureCache::update(), LLThread::wake(), LLWorkerClass::yield(), and LLMutexLock::~LLMutexLock().
apr_thread_mutex_t* LLMutex::mAPRMutexp [protected] |
Definition at line 138 of file llthread.h.
Referenced by isLocked(), LLMutex(), lock(), unlock(), LLCondition::wait(), and ~LLMutex().
apr_pool_t* LLMutex::mAPRPoolp [protected] |
Definition at line 139 of file llthread.h.
Referenced by LLCondition::LLCondition(), LLMutex(), and ~LLMutex().
BOOL LLMutex::mIsLocalPool [protected] |