|
stlab 2.3.0
Modern, modular C++ algorithms, data structures, and concurrency primitives
|
Main-thread / UI-thread executor (Qt, libdispatch, Emscripten, etc.).
Variables | |
| constexpr auto | stlab::main_executor |
| Runs void() noexcept tasks on the process main thread (Qt, libdispatch, or Emscripten as configured). | |
|
inlineconstexpr |
Runs void() noexcept tasks on the process main thread (Qt, libdispatch, or Emscripten as configured).
Submitted tasks run in order on the main loop. The main loop itself outlives this executor object; pending tasks are not canceled by executor destruction.