Added thread manager

This commit is contained in:
Quentin Legot
2023-03-08 21:10:51 +01:00
committed by François Autin
parent 1ac2e322cf
commit 6820086579
6 changed files with 119 additions and 104 deletions

View File

@ -2,15 +2,11 @@ mod simulator;
mod kernel;
pub mod utility;
use kernel::{
scheduler::Scheduler,
system::System
};
use kernel::system::System;
use simulator::machine::Machine;
use simulator::mem_cmp;
fn main() {
let machine = Machine::_init_machine();
let scheduler = Scheduler::new();
let system = System::new(machine, scheduler);
let _system = System::new(machine);
}