minor changes & work on threading
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
pub mod async_io;
|
||||
pub mod threading;
|
||||
mod taskrunner;
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
use alloc::boxed::Box;
|
||||
|
||||
pub struct Task {
|
||||
pid: usize,
|
||||
task: Box<dyn Fn() + Send + 'static>,
|
||||
}
|
||||
|
||||
impl Task {
|
||||
pub fn new() {}
|
||||
|
||||
pub fn run() {}
|
||||
}
|
||||
Reference in New Issue
Block a user