summaryrefslogtreecommitdiff
path: root/indra/llcommon/llmainthreadtask.cpp
AgeCommit message (Collapse)Author
2020-03-25DRTVWR-494: Add LLMainThreadTask to perform work on the main thread.Nat Goodspeed
If already running on the main thread, LLMaintThreadTask simply runs the work inline. Otherwise it queues it for the main thread using LLEventTimer, using std::future to retrieve the result.