From 88fd29ea1a5be7185b5680387d05a37ee69eb085 Mon Sep 17 00:00:00 2001 From: Julien CLEMENT Date: Mon, 2 Jan 2023 22:38:17 +0100 Subject: [PATCH] No idea how to do a spawner Signed-off-by: Julien CLEMENT --- src/task/mod.rs | 1 + src/task/spawner.rs | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 src/task/spawner.rs diff --git a/src/task/mod.rs b/src/task/mod.rs index 078e6b8..6201b8a 100644 --- a/src/task/mod.rs +++ b/src/task/mod.rs @@ -6,6 +6,7 @@ use core::task::{Context, Poll}; pub mod executor; pub mod keyboard; +pub mod spawner; #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] struct TaskId(u64); diff --git a/src/task/spawner.rs b/src/task/spawner.rs new file mode 100644 index 0000000..9e2e0cb --- /dev/null +++ b/src/task/spawner.rs @@ -0,0 +1,3 @@ +struct Spawner { + +} \ No newline at end of file