diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcommon/llthread.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linden/indra/llcommon/llthread.cpp b/linden/indra/llcommon/llthread.cpp index 822adc2..4879d58 100644 --- a/linden/indra/llcommon/llthread.cpp +++ b/linden/indra/llcommon/llthread.cpp | |||
@@ -84,7 +84,7 @@ void *APR_THREAD_FUNC LLThread::staticRun(apr_thread_t *apr_threadp, void *datap | |||
84 | 84 | ||
85 | 85 | ||
86 | LLThread::LLThread(const std::string& name, apr_pool_t *poolp) : | 86 | LLThread::LLThread(const std::string& name, apr_pool_t *poolp) : |
87 | mPaused(FALSE), | 87 | mPaused(false), |
88 | mName(name), | 88 | mName(name), |
89 | mAPRThreadp(NULL), | 89 | mAPRThreadp(NULL), |
90 | mStatus(STOPPED) | 90 | mStatus(STOPPED) |
@@ -92,12 +92,12 @@ LLThread::LLThread(const std::string& name, apr_pool_t *poolp) : | |||
92 | // Thread creation probably CAN be paranoid about APR being initialized, if necessary | 92 | // Thread creation probably CAN be paranoid about APR being initialized, if necessary |
93 | if (poolp) | 93 | if (poolp) |
94 | { | 94 | { |
95 | mIsLocalPool = FALSE; | 95 | mIsLocalPool = false; |
96 | mAPRPoolp = poolp; | 96 | mAPRPoolp = poolp; |
97 | } | 97 | } |
98 | else | 98 | else |
99 | { | 99 | { |
100 | mIsLocalPool = TRUE; | 100 | mIsLocalPool = true; |
101 | apr_pool_create(&mAPRPoolp, NULL); // Create a subpool for this thread | 101 | apr_pool_create(&mAPRPoolp, NULL); // Create a subpool for this thread |
102 | } | 102 | } |
103 | mRunCondition = new LLCondition(mAPRPoolp); | 103 | mRunCondition = new LLCondition(mAPRPoolp); |
@@ -268,12 +268,12 @@ LLMutex::LLMutex(apr_pool_t *poolp) : | |||
268 | { | 268 | { |
269 | //if (poolp) | 269 | //if (poolp) |
270 | //{ | 270 | //{ |
271 | // mIsLocalPool = FALSE; | 271 | // mIsLocalPool = false; |
272 | // mAPRPoolp = poolp; | 272 | // mAPRPoolp = poolp; |
273 | //} | 273 | //} |
274 | //else | 274 | //else |
275 | { | 275 | { |
276 | mIsLocalPool = TRUE; | 276 | mIsLocalPool = true; |
277 | apr_pool_create(&mAPRPoolp, NULL); // Create a subpool for this thread | 277 | apr_pool_create(&mAPRPoolp, NULL); // Create a subpool for this thread |
278 | } | 278 | } |
279 | apr_thread_mutex_create(&mAPRMutexp, APR_THREAD_MUTEX_UNNESTED, mAPRPoolp); | 279 | apr_thread_mutex_create(&mAPRMutexp, APR_THREAD_MUTEX_UNNESTED, mAPRPoolp); |