diff --git a/source/fiber/sched/task/scheduler.hpp b/source/fiber/sched/task/scheduler.hpp new file mode 100644 index 0000000..d3bc19f --- /dev/null +++ b/source/fiber/sched/task/scheduler.hpp @@ -0,0 +1,13 @@ +#pragma once + +#include "task.hpp" + +namespace fiber::sched::task { + +struct IScheduler { + virtual ~IScheduler() = default; + + virtual void Submit(TaskBase*) = 0; +}; + +} // namespace fiber::sched::task