Add abstractions for Clock and Timer

This commit is contained in:
Chen Chengjun
2024-05-16 15:45:44 +08:00
committed by Tate, Hongliang Tian
parent 0d5131c822
commit d019de29f9
21 changed files with 756 additions and 220 deletions

View File

@ -44,6 +44,7 @@ pub(crate) use crate::{
current, current_thread,
error::{Errno, Error},
print, println,
time::Clock,
};
pub(crate) type Result<T> = core::result::Result<T, Error>;
pub(crate) use crate::{return_errno, return_errno_with_message};