summaryrefslogtreecommitdiff
path: root/indra/llcommon/indra_constants.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-09-12 09:32:32 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-09-12 09:32:32 -0400
commit796085fc537e6bac7999e4b6624f02196eeaf4ad (patch)
tree89d1e91bc2433f2165984b4b626f1f9a6ecb178e /indra/llcommon/indra_constants.h
parent5ed44adec58ba2ecb8dd073122bd8882fed30638 (diff)
DRTVWR-588: Reimplement LLMainThreadTask based on WorkQueue
instead of on LLEventTimer. LLEventTimer takes cycles from the main loop to run through the collection of pending LLEventTimers, checking each to see if we've reached its timestamp. But LLMainThreadTask does not require delay timing; it wants the main loop to service it ASAP. That's what the "mainloop" WorkQueue is for. But WorkQueue::waitForResult() forbids calls from a thread's default coroutine. While that restriction may still make sense in general, we specifically want to be able to pause LLMainThreadTask's caller, no matter what coroutine it's running on. Introduce WorkQueue::waitForResult_() that bypasses the check.
Diffstat (limited to 'indra/llcommon/indra_constants.h')
0 files changed, 0 insertions, 0 deletions