mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 01:13:23 +00:00
Rename crates from jinux-* to aster-*
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
6dbf5d560d
commit
93781df27b
12
framework/aster-frame/src/task/mod.rs
Normal file
12
framework/aster-frame/src/task/mod.rs
Normal file
@ -0,0 +1,12 @@
|
||||
//! Tasks are the unit of code execution.
|
||||
|
||||
mod priority;
|
||||
mod processor;
|
||||
mod scheduler;
|
||||
#[allow(clippy::module_inception)]
|
||||
mod task;
|
||||
|
||||
pub use self::priority::Priority;
|
||||
pub use self::processor::{current_task, disable_preempt, preempt, schedule, DisablePreemptGuard};
|
||||
pub use self::scheduler::{add_task, set_scheduler, Scheduler};
|
||||
pub use self::task::{Task, TaskAdapter, TaskOptions, TaskStatus};
|
Reference in New Issue
Block a user