Move Pauser's functionality to Waiter/WaiterQueue and add the per-thread signalled waker

This commit is contained in:
Chen Chengjun
2024-09-13 20:29:43 +08:00
committed by Tate, Hongliang Tian
parent 1873bb7a3f
commit 822caf34f4
6 changed files with 225 additions and 301 deletions

View File

@ -54,6 +54,7 @@ pub(crate) use crate::{
current, current_thread,
error::{Errno, Error},
print, println,
process::signal::Pause,
time::{wait::WaitTimeout, Clock},
};
pub(crate) type Result<T> = core::result::Result<T, Error>;