diff options
Diffstat (limited to 'indra/newview/llcoproceduremanager.h')
-rw-r--r-- | indra/newview/llcoproceduremanager.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/indra/newview/llcoproceduremanager.h b/indra/newview/llcoproceduremanager.h index 8902b217c2..e84eba2db9 100644 --- a/indra/newview/llcoproceduremanager.h +++ b/indra/newview/llcoproceduremanager.h @@ -1,5 +1,5 @@ /** -* @file llupdloadmanager.h +* @file llcoproceduremanager.h * @author Rider Linden * @brief Singleton class for managing asset uploads to the sim. * @@ -97,10 +97,12 @@ private: CoProcedure_t mProc; }; - typedef std::deque<QueuedCoproc::ptr_t> AssetQueue_t; + // we use a deque here rather than std::queue since we want to be able to + // iterate through the queue and potentially erase an entry from the middle. + typedef std::deque<QueuedCoproc::ptr_t> CoprocQueue_t; typedef std::map<LLUUID, LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t> ActiveCoproc_t; - AssetQueue_t mPendingCoprocs; + CoprocQueue_t mPendingCoprocs; ActiveCoproc_t mActiveCoprocs; bool mShutdown; LLEventStream mWakeupTrigger; @@ -111,7 +113,6 @@ private: CoroAdapterMap_t mCoroMapping; - void initializeManager(); void coprocedureInvokerCoro(LLCoros::self& self, LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t httpAdapter); }; |