Commit Graph

3 Commits (cdc9852f052d804f8b25564ab7d90eb2b79cddd4)

Author SHA1 Message Date
Nat Goodspeed 6586918df0 DRTVWR-494: Remove LLMainThreadTask::dispatch(LockStatic&, ...)
Monty's code review reveals that conflating dispatch() with [un]lock
functionality is inconsistent and unnecessary.
2020-03-25 15:28:17 -04:00
Nat Goodspeed dd98717caa DRTVWR-494: Document LLMainThreadTask class. 2020-03-25 15:28:17 -04:00
Nat Goodspeed 960593fd5e DRTVWR-494: Add LLMainThreadTask to perform work on the main thread.
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.
2020-03-25 15:28:17 -04:00