mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 20:03:22 +00:00
Add wait_until_or_cancelled API to WaitQueue
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
91152bceed
commit
2002db5481
@ -44,7 +44,7 @@ pub(crate) use crate::{
|
||||
current, current_thread,
|
||||
error::{Errno, Error},
|
||||
print, println,
|
||||
time::Clock,
|
||||
time::{wait::WaitTimeout, Clock},
|
||||
};
|
||||
pub(crate) type Result<T> = core::result::Result<T, Error>;
|
||||
pub(crate) use crate::{return_errno, return_errno_with_message};
|
||||
|
Reference in New Issue
Block a user