diff options
| author | Rick Pasetto <rick@lindenlab.com> | 2009-11-06 13:09:48 -0800 |
|---|---|---|
| committer | Rick Pasetto <rick@lindenlab.com> | 2009-11-06 13:09:48 -0800 |
| commit | 78db8dd83b76466df83abc32d56aa74ac7b180f3 (patch) | |
| tree | 369b4d8db3081fcf71a27572a00d310c7b9aaaf6 /indra/llcommon/llworkerthread.h | |
| parent | d4f790f72866b43956ce4216bf6471c85f4afc6c (diff) | |
| parent | 3f8172707833f30d3c39d165c975bd3d97511080 (diff) | |
merge from remote repo
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 + }; //============================================================================ |
