diff options
author | Jacek Antonelli | 2009-04-06 04:11:59 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-04-06 04:11:59 -0500 |
commit | 4a8477b633364d4533ad8e0d9a28864d0e799f4b (patch) | |
tree | 2bd615abedd86139a45d58a6ddeecef36728619e /linden/indra/llcommon/llthread.h | |
parent | Merge branch 'gst-revamp' into next (diff) | |
download | meta-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.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/llcommon/llthread.h b/linden/indra/llcommon/llthread.h index 9da3134..a0b22f2 100644 --- a/linden/indra/llcommon/llthread.h +++ b/linden/indra/llcommon/llthread.h | |||
@@ -67,7 +67,7 @@ public: | |||
67 | // Called from MAIN THREAD. | 67 | // Called from MAIN THREAD. |
68 | void pause(); | 68 | void pause(); |
69 | void unpause(); | 69 | void unpause(); |
70 | bool isPaused() { return isStopped() || mPaused == TRUE; } | 70 | bool isPaused() { return isStopped() || mPaused; } |
71 | 71 | ||
72 | // Cause the thread to wake up and check its condition | 72 | // Cause the thread to wake up and check its condition |
73 | void wake(); | 73 | void wake(); |
@@ -84,7 +84,7 @@ public: | |||
84 | apr_pool_t *getAPRPool() { return mAPRPoolp; } | 84 | apr_pool_t *getAPRPool() { return mAPRPoolp; } |
85 | 85 | ||
86 | private: | 86 | private: |
87 | BOOL mPaused; | 87 | bool mPaused; |
88 | 88 | ||
89 | // static function passed to APR thread creation routine | 89 | // static function passed to APR thread creation routine |
90 | static void *APR_THREAD_FUNC staticRun(apr_thread_t *apr_threadp, void *datap); | 90 | static void *APR_THREAD_FUNC staticRun(apr_thread_t *apr_threadp, void *datap); |
@@ -95,7 +95,7 @@ protected: | |||
95 | 95 | ||
96 | apr_thread_t *mAPRThreadp; | 96 | apr_thread_t *mAPRThreadp; |
97 | apr_pool_t *mAPRPoolp; | 97 | apr_pool_t *mAPRPoolp; |
98 | BOOL mIsLocalPool; | 98 | bool mIsLocalPool; |
99 | EThreadStatus mStatus; | 99 | EThreadStatus mStatus; |
100 | 100 | ||
101 | void setQuitting(); | 101 | void setQuitting(); |
@@ -137,7 +137,7 @@ public: | |||
137 | protected: | 137 | protected: |
138 | apr_thread_mutex_t *mAPRMutexp; | 138 | apr_thread_mutex_t *mAPRMutexp; |
139 | apr_pool_t *mAPRPoolp; | 139 | apr_pool_t *mAPRPoolp; |
140 | BOOL mIsLocalPool; | 140 | bool mIsLocalPool; |
141 | }; | 141 | }; |
142 | 142 | ||
143 | // Actually a condition/mutex pair (since each condition needs to be associated with a mutex). | 143 | // Actually a condition/mutex pair (since each condition needs to be associated with a mutex). |