mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 20:03:22 +00:00
Use Mutex and RwLock in jinux-frame for jinux-std
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
df7bd65e70
commit
6d101c5b6d
@ -2,9 +2,9 @@
|
||||
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
use crate::arch::x86::timer::{add_timeout_list, TimerCallback, TICK};
|
||||
use crate::sync::Mutex;
|
||||
use crate::{config::TIMER_FREQ, prelude::*};
|
||||
use core::{sync::atomic::Ordering, time::Duration};
|
||||
use spin::Mutex;
|
||||
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
pub use crate::arch::x86::timer::read_monotonic_milli_seconds;
|
||||
|
Reference in New Issue
Block a user