34 std::vector<std::function<void()>> m_tasks;
35 std::vector<std::function<void()>> m_runningTasks;
An executor for running listener tasks posted by Sendable listeners synchronously from the main appli...
Definition ListenerExecutor.h:19
void Execute(std::function< void()> task)
Posts a task to the executor to be run synchronously from the main thread.
void RunListenerTasks()
Runs all posted tasks.
Definition ListenerExecutor.h:12
::std::mutex mutex
Definition mutex.h:17