Remove the timer module from the aster-frame and adjust the related code

This commit is contained in:
Chen Chengjun
2024-04-30 11:21:56 +08:00
committed by Tate, Hongliang Tian
parent d019de29f9
commit b226928349
8 changed files with 118 additions and 184 deletions

View File

@ -8,7 +8,9 @@ use core::{
use aster_frame::sync::WaitQueue;
use super::{sig_mask::SigMask, SigEvents, SigEventsFilter};
use crate::{events::Observer, prelude::*, process::posix_thread::PosixThreadExt};
use crate::{
events::Observer, prelude::*, process::posix_thread::PosixThreadExt, time::wait::WaitTimeout,
};
/// A `Pauser` allows pausing the execution of the current thread until certain conditions are reached.
///