diff options
author | Ansariel <ansariel.hiller@phoenixviewer.com> | 2024-09-24 02:59:48 +0200 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-04-18 23:09:51 +0300 |
commit | d6b8628a4f85bd95863f9d5228e1210d483b2ce8 (patch) | |
tree | 4ea5454c0b4c154b0494ec3556700d940701ff8b /indra/llcommon/llthread.h | |
parent | 4cccf8af43c8ebd9f947b9050a0403f65d0de7ee (diff) |
Reduce memory allocations pinging the mainloop timeout
Diffstat (limited to 'indra/llcommon/llthread.h')
-rw-r--r-- | indra/llcommon/llthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llthread.h b/indra/llcommon/llthread.h index 4194e0014d..21264351e5 100644 --- a/indra/llcommon/llthread.h +++ b/indra/llcommon/llthread.h @@ -68,7 +68,7 @@ public: // Called from MAIN THREAD. void pause(); void unpause(); - bool isPaused() { return isStopped() || mPaused; } + bool isPaused() const { return isStopped() || mPaused; } // Cause the thread to wake up and check its condition void wake(); |