mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 20:03:22 +00:00
Extract shared code from timer
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
c4cb0f1aef
commit
839c2a6689
@ -13,7 +13,7 @@ use core::sync::atomic::{AtomicBool, Ordering};
|
||||
use spin::Once;
|
||||
|
||||
use super::{preempt::cpu_local, processor, Task};
|
||||
use crate::{arch::timer, cpu::PinCurrentCpu, prelude::*, task::disable_preempt};
|
||||
use crate::{cpu::PinCurrentCpu, prelude::*, task::disable_preempt, timer};
|
||||
|
||||
/// Injects a scheduler implementation into framework.
|
||||
///
|
||||
|
Reference in New Issue
Block a user