Add MutexSpin and several syscalls.

This commit is contained in:
Yifan Wu 2021-10-07 12:40:47 -07:00
parent d1e55d85d8
commit 8974a29245
8 changed files with 159 additions and 2 deletions

View file

@ -1,3 +1,5 @@
mod up;
mod mutex;
pub use up::UPSafeCell;
pub use up::UPSafeCell;
pub use mutex::{Mutex, MutexSpin};