Exemplo n.º 1
0
LLTextureCache::LLTextureCache(bool threaded)
	: LLWorkerThread("TextureCache", threaded),
	  mWorkersMutex(getAPRPool()),
	  mHeaderMutex(getAPRPool()),
	  mListMutex(getAPRPool()),
	  mFileAPRPool(NULL),
	  mReadOnly(FALSE),
	  mTexturesSizeTotal(0),
	  mDoPurge(FALSE)
{
	apr_pool_create(&mFileAPRPool, NULL);
}
Exemplo n.º 2
0
LLWorkerThread::LLWorkerThread(const std::string& name, bool threaded) :
	LLQueuedThread(name, threaded),
	mWorkerAPRPoolp(NULL)
{
	apr_pool_create(&mWorkerAPRPoolp, NULL);
	mDeleteMutex = new LLMutex(getAPRPool());
}
Exemplo n.º 3
0
// MAIN THREAD
LLImageDecodeThread::LLImageDecodeThread(bool threaded)
	: LLQueuedThread("imagedecode", threaded)
{
	mCreationMutex = new LLMutex(getAPRPool());
}
Exemplo n.º 4
0
Arquivo: llapr.cpp Projeto: Kiera/Crow
apr_pool_t* LLVolatileAPRPool::getVolatileAPRPool() 
{
	mNumTotalRef++ ;
	mNumActiveRef++ ;
	return getAPRPool() ;
}