예제 #1
0
파일: llapr.cpp 프로젝트: Kiera/Crow
//
//
//LLAPRPool
//
LLAPRPool::LLAPRPool(apr_pool_t *parent, apr_size_t size, BOOL releasePoolFlag) 	
	: mParent(parent),
	mReleasePoolFlag(releasePoolFlag),
	mMaxSize(size),
	mPool(NULL)
{	
	createAPRPool() ;
}
예제 #2
0
파일: llapr.cpp 프로젝트: Kiera/Crow
apr_pool_t* LLAPRPool::getAPRPool() 
{
	if(!mPool)
	{
		createAPRPool() ;
	}
	
	return mPool ; 
}
예제 #3
0
//
//
//LLAPRPool
//
LLAPRPool::LLAPRPool(apr_pool_t *parent, apr_size_t size, BOOL releasePoolFlag)
{
    mParent = parent ;
    mReleasePoolFlag = releasePoolFlag ;
    mMaxSize = size ;
    mPool = NULL ;

    createAPRPool() ;
}
예제 #4
0
apr_pool_t* LLVolatileAPRPool::getVolatileAPRPool() 
{	
	LLScopedLock lock(mMutexp) ;

	mNumTotalRef++ ;
	mNumActiveRef++ ;

	if(!mPool)
	{
		createAPRPool() ;
	}
	
	return mPool ;
}