Skip to content

Commit

Permalink
create schduler interface
Browse files Browse the repository at this point in the history
  • Loading branch information
daronenko committed Sep 16, 2024
1 parent 0295f53 commit da27b4c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions source/fiber/sched/task/scheduler.hpp
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit da27b4c

Please sign in to comment.