diff options
| author | Jonathan "Geenz" Goodman <geenz@lindenlab.com> | 2026-10-13 14:36:53 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-13 14:36:53 -0400 |
| commit | fac07196d86e899686c4f1ce88776b11a906cd58 (patch) | |
| tree | f3a3a530b80b1b17e71c7b6d7fa8b981b52c61f9 /indra/llcommon/workqueue.cpp | |
| parent | 083db782e29434ab17963fcac76b0ec3cd93b9d0 (diff) | |
| parent | 181fd93f799e15a6ff924362c4a05be8db3639af (diff) | |
Merge pull request #6438 from secondlife/geenz/main-26.5
Main -> 26.5
Diffstat (limited to 'indra/llcommon/workqueue.cpp')
| -rw-r--r-- | indra/llcommon/workqueue.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llcommon/workqueue.cpp b/indra/llcommon/workqueue.cpp index fbd92d089e..4f19ab2cc2 100644 --- a/indra/llcommon/workqueue.cpp +++ b/indra/llcommon/workqueue.cpp @@ -319,6 +319,12 @@ bool LL::WorkQueue::tryPost(const Work& callable) } } +bool LL::WorkQueue::postToMainLoop(const Work& work) +{ + auto queue = getInstance("mainloop"); + return queue && queue->tryPost(work); +} + LL::WorkQueue::Work LL::WorkQueue::pop_() { return mQueue.pop(); |
