ax-std 0.5.32

ArceOS user library with an interface similar to rust std
1
2
3
4
5
6
//! A non-poisoning sleeping mutex.

/// An alias of [`ax_runtime::sync::Mutex`].
pub type Mutex<T> = ax_runtime::sync::Mutex<T>;
/// An alias of [`ax_runtime::sync::MutexGuard`].
pub type MutexGuard<'a, T> = ax_runtime::sync::MutexGuard<'a, T>;