diff options
| author | Steve Bennetts <steve@lindenlab.com> | 2009-11-06 12:20:52 -0800 |
|---|---|---|
| committer | Steve Bennetts <steve@lindenlab.com> | 2009-11-06 12:20:52 -0800 |
| commit | 0db73b1ac58650bf681803c93767c64c3d908e15 (patch) | |
| tree | cba28950adfcf3b8040f1bc7cf449ddab6379b85 /indra/llcommon/llworkerthread.h | |
| parent | 5b5df4769773025978409590e14a807ea2790c84 (diff) | |
| parent | afe6350160aa93323a6a5d8ef8c6206bffc337e0 (diff) | |
merge
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 + }; //============================================================================ |
