diff options
author | McCabe Maxsted | 2010-08-30 13:11:36 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-08-30 13:11:36 -0700 |
commit | 4ca4594ec264f390be981568ef5ff3ff0f2f77e6 (patch) | |
tree | 6f64ed91b5763c8aac33c58883b66eef501fd057 /linden/indra/llcommon/llworkerthread.h | |
parent | Fixed #455: inventory found items vanish after a certain amount of time. Also... (diff) | |
download | meta-impy-4ca4594ec264f390be981568ef5ff3ff0f2f77e6.zip meta-impy-4ca4594ec264f390be981568ef5ff3ff0f2f77e6.tar.gz meta-impy-4ca4594ec264f390be981568ef5ff3ff0f2f77e6.tar.bz2 meta-impy-4ca4594ec264f390be981568ef5ff3ff0f2f77e6.tar.xz |
Updated lltexturecache to the latest in viewer-development (see #425)
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcommon/llworkerthread.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/linden/indra/llcommon/llworkerthread.h b/linden/indra/llcommon/llworkerthread.h index 708d812..d1868bc 100644 --- a/linden/indra/llcommon/llworkerthread.h +++ b/linden/indra/llcommon/llworkerthread.h | |||
@@ -80,6 +80,9 @@ public: | |||
80 | S32 mParam; | 80 | S32 mParam; |
81 | }; | 81 | }; |
82 | 82 | ||
83 | protected: | ||
84 | void clearDeleteList() ; | ||
85 | |||
83 | private: | 86 | private: |
84 | typedef std::list<LLWorkerClass*> delete_list_t; | 87 | typedef std::list<LLWorkerClass*> delete_list_t; |
85 | delete_list_t mDeleteList; | 88 | delete_list_t mDeleteList; |
@@ -93,8 +96,11 @@ public: | |||
93 | 96 | ||
94 | handle_t addWorkRequest(LLWorkerClass* workerclass, S32 param, U32 priority = PRIORITY_NORMAL); | 97 | handle_t addWorkRequest(LLWorkerClass* workerclass, S32 param, U32 priority = PRIORITY_NORMAL); |
95 | 98 | ||
96 | void deleteWorker(LLWorkerClass* workerclass); // schedule for deletion | ||
97 | S32 getNumDeletes() { return (S32)mDeleteList.size(); } // debug | 99 | S32 getNumDeletes() { return (S32)mDeleteList.size(); } // debug |
100 | |||
101 | private: | ||
102 | void deleteWorker(LLWorkerClass* workerclass); // schedule for deletion | ||
103 | |||
98 | }; | 104 | }; |
99 | 105 | ||
100 | //============================================================================ | 106 | //============================================================================ |