create thread and scheduler base files
continuous-integration/drone/push Build is passing

Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
juju committed 2022-12-29 18:58:48 +01:00
1 parent 7a443723e5
commit 9199c60948
4 files changed
+13

No files matched your search

+1
View File
@@ -8,6 +8,7 @@ mod fd;
mod fs;
mod interrupts;
mod memory;
mod proc;
mod syscalls;
mod task;
mod utils;
+2
View File
@@ -0,0 +1,2 @@
pub mod thread;
pub mod scheduler;
+7
View File
@@ -0,0 +1,7 @@
use super::thread::Thread;
use alloc::vec::Vec;
pub struct Scheduler {
threads: Vec<Thread>,
}
+3
View File
@@ -0,0 +1,3 @@
pub struct Thread {
rsp: u64
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.