mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-17 23:07:50 +00:00
Create a SimpleExecutor that polls tasks in a busy loop
This commit is contained in:
@@ -5,6 +5,8 @@ use core::{
|
||||
task::{Context, Poll},
|
||||
};
|
||||
|
||||
pub mod simple_executor;
|
||||
|
||||
pub struct Task {
|
||||
future: Pin<Box<dyn Future<Output = ()>>>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user