Adjust the format of imports in Asterinas

This commit is contained in:
Chen Chengjun
2024-02-25 22:09:24 +08:00
committed by Tate, Hongliang Tian
parent 92e488e727
commit cfcef6965a
384 changed files with 2264 additions and 2059 deletions

View File

@ -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},
};