pub fn spawn<F>(f: F) -> AxTaskRefAvailable on crate feature
multitask only.Expand description
Spawns a new task with the default parameters.
The default task name is an empty string. The default task stack size is
axconfig::TASK_STACK_SIZE.
Returns the task reference.