aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llthread.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2009-04-06 04:11:59 -0500
committerJacek Antonelli2009-04-06 04:11:59 -0500
commit4a8477b633364d4533ad8e0d9a28864d0e799f4b (patch)
tree2bd615abedd86139a45d58a6ddeecef36728619e /linden/indra/llcommon/llthread.cpp
parentMerge branch 'gst-revamp' into next (diff)
downloadmeta-impy-4a8477b633364d4533ad8e0d9a28864d0e799f4b.zip
meta-impy-4a8477b633364d4533ad8e0d9a28864d0e799f4b.tar.gz
meta-impy-4a8477b633364d4533ad8e0d9a28864d0e799f4b.tar.bz2
meta-impy-4a8477b633364d4533ad8e0d9a28864d0e799f4b.tar.xz
Converted BOOLs to bools in llthread.
Diffstat (limited to '')
-rw-r--r--linden/indra/llcommon/llthread.cpp10
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
86LLThread::LLThread(const std::string& name, apr_pool_t *poolp) : 86LLThread::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);