5#include <vitrio/concurrency/completion_notifier.hpp>
6#include <vitrio/concurrency/executor.hpp>
7#include <vitrio/concurrency/task.hpp>
8#include <vitrio/export.hpp>
47 std::unique_ptr<task> t,
48 std::shared_ptr<completion_notifier> notifier
Where a task is handed off to run, now or later.
Definition executor.hpp:26
An executor that runs a task on the calling thread, before submit returns.
Definition synchronous_executor.hpp:25
void submit(std::unique_ptr< task > t, std::shared_ptr< completion_notifier > notifier) override
Run a unit of work immediately, on the calling thread.