diff options
author | aqua <aqua@iserlohn-fortress.net> | 2024-03-08 17:24:49 +0200 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2024-03-08 22:00:07 +0200 |
commit | 20b97ea7c0dbbdc13800e12ff5c86c00c4a342ec (patch) | |
tree | 473281e5fc8b256827ce1a678573444e1aa5f669 /kernel/sched.hpp | |
parent | Generate src/conf.h (diff) | |
download | kernel-20b97ea7c0dbbdc13800e12ff5c86c00c4a342ec.tar.xz |
Bazel build
Diffstat (limited to 'kernel/sched.hpp')
-rw-r--r-- | kernel/sched.hpp | 8 |
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); +}; |