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