From b610b378ee3249b572d98875a0e557cbf80c2ded Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Tue, 2 Apr 2024 11:21:13 -0400 Subject: 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. --- indra/llcommon/lualistener.cpp | 1 + 1 file changed, 1 insertion(+) 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&) -- cgit v1.2.3