summaryrefslogtreecommitdiff
path: root/indra/llcommon/llcoros.h
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2018-05-30 16:44:14 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2018-05-30 16:44:14 +0300
commit8348e50c7f8f304e6d3733fb5a0a8d7bdb056fef (patch)
treee6af3a2f1feb90a01a1bac9de861c41fefaa0764 /indra/llcommon/llcoros.h
parenta902b360f2e15801e7efa09775870729a6ccf132 (diff)
MAINT-8686 Viewer should report active coroutines at the end of the session
Diffstat (limited to 'indra/llcommon/llcoros.h')
-rw-r--r--indra/llcommon/llcoros.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcommon/llcoros.h b/indra/llcommon/llcoros.h
index 884d6b159c..8fb27af6a4 100644
--- a/indra/llcommon/llcoros.h
+++ b/indra/llcommon/llcoros.h
@@ -151,6 +151,9 @@ public:
/// for delayed initialization
void setStackSize(S32 stacksize);
+ /// for delayed initialization
+ void printActiveCoroutines();
+
/// get the current coro::self& for those who really really care
static coro::self& get_self();
@@ -223,6 +226,7 @@ private:
// function signature down to that point -- and of course through every
// other caller of every such function.
LLCoros::coro::self* mSelf;
+ F64 mCreationTime; // since epoch
};
typedef boost::ptr_map<std::string, CoroData> CoroMap;
CoroMap mCoros;