ax-posix-api 0.5.33

POSIX-compatible APIs for ArceOS modules
1
2
3
4
5
6
//! Synchronization policy for the ArceOS POSIX layer.

#[cfg(feature = "multitask")]
pub(crate) use ax_runtime::sync::Mutex;
#[cfg(not(feature = "multitask"))]
pub(crate) use ax_runtime::sync::SpinLock as Mutex;