diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-08-17 20:49:56 +0000 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-08-17 20:49:56 +0000 |
commit | fa0cc7b6d2700b888310d7723114415f7db4f194 (patch) | |
tree | a8d97abf1fbe80f86af27c921ff189b01cc3add5 /indra/llmessage | |
parent | 9406b757a36d409e93a0ccde0a1fea289a3e6118 (diff) | |
parent | 5ff63f0d7b2c50b7a88f9b40ef0224c8f15336c3 (diff) |
Merged in SL-13783 and SL-13789
Diffstat (limited to 'indra/llmessage')
-rw-r--r-- | indra/llmessage/llcoproceduremanager.cpp | 6 | ||||
-rw-r--r-- | indra/llmessage/llcoproceduremanager.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/indra/llmessage/llcoproceduremanager.cpp b/indra/llmessage/llcoproceduremanager.cpp index 42c19e3b1c..0684f47df2 100644 --- a/indra/llmessage/llcoproceduremanager.cpp +++ b/indra/llmessage/llcoproceduremanager.cpp @@ -140,6 +140,12 @@ LLCoprocedureManager::~LLCoprocedureManager() close(); } +void LLCoprocedureManager::initSingleton() +{ + // workaround until we get mutex into initializePool + initializePool("VAssetStorage"); +} + LLCoprocedureManager::poolPtr_t LLCoprocedureManager::initializePool(const std::string &poolName) { // Attempt to look up a pool size in the configuration. If found use that diff --git a/indra/llmessage/llcoproceduremanager.h b/indra/llmessage/llcoproceduremanager.h index 70204ba02b..8540ced8cc 100644 --- a/indra/llmessage/llcoproceduremanager.h +++ b/indra/llmessage/llcoproceduremanager.h @@ -40,6 +40,7 @@ class LLCoprocedureManager : public LLSingleton < LLCoprocedureManager > { LLSINGLETON(LLCoprocedureManager); virtual ~LLCoprocedureManager(); + /*virtual*/ void initSingleton(); public: typedef boost::function<U32(const std::string &)> SettingQuery_t; |