mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 01:13:23 +00:00
Adjust the format of imports in Asterinas
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
92e488e727
commit
cfcef6965a
@ -8,7 +8,9 @@ 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};
|
||||
pub use self::{
|
||||
priority::Priority,
|
||||
processor::{current_task, disable_preempt, preempt, schedule, DisablePreemptGuard},
|
||||
scheduler::{add_task, set_scheduler, Scheduler},
|
||||
task::{Task, TaskAdapter, TaskOptions, TaskStatus},
|
||||
};
|
||||
|
Reference in New Issue
Block a user