ax-std 0.7.2

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

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