(Should) fix some race conditions on start when threads are created

meow-7.2.2
Wolfspirit 2011-08-24 05:13:11 +02:00
parent c363e2e12d
commit fe4d90f8a5
1 changed files with 6 additions and 6 deletions

View File

@ -285,12 +285,12 @@ void LLThread::wakeLocked()
LLMutex::LLMutex(apr_pool_t *poolp) :
mAPRMutexp(NULL)
{
//if (poolp)
//{
// mIsLocalPool = FALSE;
// mAPRPoolp = poolp;
//}
//else
if (poolp)
{
mIsLocalPool = FALSE;
mAPRPoolp = poolp;
}
else
{
mIsLocalPool = TRUE;
apr_pool_create(&mAPRPoolp, NULL); // Create a subpool for this thread