diff options
Diffstat (limited to 'src/sched.hpp')
-rw-r--r-- | src/sched.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sched.hpp b/src/sched.hpp new file mode 100644 index 0000000..cfa3ff0 --- /dev/null +++ b/src/sched.hpp @@ -0,0 +1,8 @@ +#pragma once + +#include "task.h" + +class RoundRobinQueue : public Queue<Task> { +public: + [[nodiscard]] Task *next(int slice); +}; |