diff options
Diffstat (limited to 'linden/indra/llcommon/llthread.cpp')
-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 920d8c0..37b03a4 100644 --- a/linden/indra/llcommon/llthread.cpp +++ b/linden/indra/llcommon/llthread.cpp | |||
@@ -85,7 +85,7 @@ void *APR_THREAD_FUNC LLThread::staticRun(apr_thread_t *apr_threadp, void *datap | |||
85 | 85 | ||
86 | 86 | ||
87 | LLThread::LLThread(const std::string& name, apr_pool_t *poolp) : | 87 | LLThread::LLThread(const std::string& name, apr_pool_t *poolp) : |
88 | mPaused(FALSE), | 88 | mPaused(false), |
89 | mName(name), | 89 | mName(name), |
90 | mAPRThreadp(NULL), | 90 | mAPRThreadp(NULL), |
91 | mStatus(STOPPED) | 91 | mStatus(STOPPED) |
@@ -93,12 +93,12 @@ LLThread::LLThread(const std::string& name, apr_pool_t *poolp) : | |||
93 | // Thread creation probably CAN be paranoid about APR being initialized, if necessary | 93 | // Thread creation probably CAN be paranoid about APR being initialized, if necessary |
94 | if (poolp) | 94 | if (poolp) |
95 | { | 95 | { |
96 | mIsLocalPool = FALSE; | 96 | mIsLocalPool = false; |
97 | mAPRPoolp = poolp; | 97 | mAPRPoolp = poolp; |
98 | } | 98 | } |
99 | else | 99 | else |
100 | { | 100 | { |
101 | mIsLocalPool = TRUE; | 101 | mIsLocalPool = true; |
102 | apr_pool_create(&mAPRPoolp, NULL); // Create a subpool for this thread | 102 | apr_pool_create(&mAPRPoolp, NULL); // Create a subpool for this thread |
103 | } | 103 | } |
104 | mRunCondition = new LLCondition(mAPRPoolp); | 104 | mRunCondition = new LLCondition(mAPRPoolp); |
@@ -277,12 +277,12 @@ LLMutex::LLMutex(apr_pool_t *poolp) : | |||
277 | { | 277 | { |
278 | //if (poolp) | 278 | //if (poolp) |
279 | //{ | 279 | //{ |
280 | // mIsLocalPool = FALSE; | 280 | // mIsLocalPool = false; |
281 | // mAPRPoolp = poolp; | 281 | // mAPRPoolp = poolp; |
282 | //} | 282 | //} |
283 | //else | 283 | //else |
284 | { | 284 | { |
285 | mIsLocalPool = TRUE; | 285 | mIsLocalPool = true; |
286 | apr_pool_create(&mAPRPoolp, NULL); // Create a subpool for this thread | 286 | apr_pool_create(&mAPRPoolp, NULL); // Create a subpool for this thread |
287 | } | 287 | } |
288 | apr_thread_mutex_create(&mAPRMutexp, APR_THREAD_MUTEX_UNNESTED, mAPRPoolp); | 288 | apr_thread_mutex_create(&mAPRMutexp, APR_THREAD_MUTEX_UNNESTED, mAPRPoolp); |