summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-04-02 11:21:13 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-04-02 11:21:13 -0400
commitb610b378ee3249b572d98875a0e557cbf80c2ded (patch)
tree1b9f2af04995e23b584f8c8bc1f36356a0eafb23 /indra
parent1d1a278712298b91342b687d1b15b107ad51b4ba (diff)
Use LLCoros::TempStatus when Lua is waiting on get_event_next().
When enumerating C++ coroutines, it can be useful to know that a particular Lua coroutine is simply waiting for further events.
Diffstat (limited to 'indra')
-rw-r--r--indra/llcommon/lualistener.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llcommon/lualistener.cpp b/indra/llcommon/lualistener.cpp
index 018a31d5a8..82e32860db 100644
--- a/indra/llcommon/lualistener.cpp
+++ b/indra/llcommon/lualistener.cpp
@@ -104,6 +104,7 @@ LuaListener::PumpData LuaListener::getNext()
{
try
{
+ LLCoros::TempStatus status("get_event_next()");
return mQueue.pop();
}
catch (const LLThreadSafeQueueInterrupt&)