diff options
| author | Steve Bennetts <steve@lindenlab.com> | 2009-11-06 12:15:41 -0800 |
|---|---|---|
| committer | Steve Bennetts <steve@lindenlab.com> | 2009-11-06 12:15:41 -0800 |
| commit | afe6350160aa93323a6a5d8ef8c6206bffc337e0 (patch) | |
| tree | a26403aaf4ce4aa8098ca54a84a970b9056f05eb /indra/llcommon/llqueuedthread.h | |
| parent | e654475529d924603a9b3bc8c4775c86d3cf7933 (diff) | |
| parent | 35e200881c38eb6c1bfd1f14ef440d4bc4da8c74 (diff) | |
merge from texture-pipeline
Diffstat (limited to 'indra/llcommon/llqueuedthread.h')
| -rw-r--r-- | indra/llcommon/llqueuedthread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcommon/llqueuedthread.h b/indra/llcommon/llqueuedthread.h index 8bfa5632a1..9a9dbb18cc 100644 --- a/indra/llcommon/llqueuedthread.h +++ b/indra/llcommon/llqueuedthread.h @@ -166,6 +166,9 @@ private: virtual bool runCondition(void); virtual void run(void); + virtual void startThread(void); + virtual void endThread(void); + virtual void threadedUpdate(void); protected: handle_t generateHandle(); @@ -200,6 +203,7 @@ public: protected: BOOL mThreaded; // if false, run on main thread and do updates during update() + BOOL mStarted; // required when mThreaded is false to call startThread() from update() LLAtomic32<BOOL> mIdleThread; // request queue is empty (or we are quitting) and the thread is idle typedef std::set<QueuedRequest*, queued_request_less> request_queue_t; |
