fix the dumb
This commit is contained in:
parent
7a00dff4b9
commit
2af7684532
|
@ -18,9 +18,7 @@ impl Scheduler<'_> {
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
Self {
|
Self {
|
||||||
data: VecDeque::new(),
|
data: VecDeque::new(),
|
||||||
tick_callback: None,
|
|
||||||
last_timer_count: 0,
|
|
||||||
tick_limit: 64,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pub fn new_process(&mut self, program: Vec<u8>) {
|
pub fn new_process(&mut self, program: Vec<u8>) {
|
||||||
|
@ -49,4 +47,5 @@ impl Scheduler<'_> {
|
||||||
prog.run().unwrap();
|
prog.run().unwrap();
|
||||||
self.data.push_back(prog);
|
self.data.push_back(prog);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue