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/llworkerthread.h | |
parent | e654475529d924603a9b3bc8c4775c86d3cf7933 (diff) | |
parent | 35e200881c38eb6c1bfd1f14ef440d4bc4da8c74 (diff) |
merge from texture-pipeline
Diffstat (limited to 'indra/llcommon/llworkerthread.h')
-rw-r--r-- | indra/llcommon/llworkerthread.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llcommon/llworkerthread.h b/indra/llcommon/llworkerthread.h index a12bd52a64..a1e85d2ecc 100644 --- a/indra/llcommon/llworkerthread.h +++ b/indra/llcommon/llworkerthread.h @@ -52,6 +52,7 @@ class LLWorkerClass; class LL_COMMON_API LLWorkerThread : public LLQueuedThread { + friend class LLWorkerClass; public: class WorkRequest : public LLQueuedThread::QueuedRequest { @@ -92,8 +93,11 @@ public: handle_t addWorkRequest(LLWorkerClass* workerclass, S32 param, U32 priority = PRIORITY_NORMAL); - void deleteWorker(LLWorkerClass* workerclass); // schedule for deletion S32 getNumDeletes() { return (S32)mDeleteList.size(); } // debug + +private: + void deleteWorker(LLWorkerClass* workerclass); // schedule for deletion + }; //============================================================================ |