From 20b97ea7c0dbbdc13800e12ff5c86c00c4a342ec Mon Sep 17 00:00:00 2001 From: aqua Date: Fri, 8 Mar 2024 17:24:49 +0200 Subject: Bazel build --- kernel/sched.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 kernel/sched.hpp (limited to 'kernel/sched.hpp') 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 { +public: + [[nodiscard]] Task *next(int slice); +}; -- cgit v1.2.1