Function arceos_api::task::ax_spawn
source · pub fn ax_spawn(
f: impl FnOnce() + Send + 'static,
name: String,
stack_size: usize
) -> AxTaskHandle
Available on crate feature
multitask
only.Expand description
Spawns a new task with the given entry point and other arguments.