mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-30 13:53:41 +00:00
Schedule tasks to APs in aster-nix
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
5feb8f5de8
commit
47be0a909b
@ -6,12 +6,13 @@
|
||||
//! and provides useful functions for controlling the execution flow.
|
||||
|
||||
mod fifo_scheduler;
|
||||
pub mod info;
|
||||
|
||||
use core::sync::atomic::{AtomicBool, Ordering};
|
||||
|
||||
use spin::Once;
|
||||
|
||||
use super::{preempt::cpu_local, processor, task::Task};
|
||||
use super::{preempt::cpu_local, processor, Task};
|
||||
use crate::{arch::timer, cpu::PinCurrentCpu, prelude::*, task::disable_preempt};
|
||||
|
||||
/// Injects a scheduler implementation into framework.
|
||||
|
Reference in New Issue
Block a user