Function axtask::spawn_raw

source ·
pub fn spawn_raw<F>(f: F, name: String, stack_size: usize) -> AxTaskRef
where F: FnOnce() + Send + 'static,
Available on crate feature multitask only.
Expand description

Spawns a new task with the given parameters.

Returns the task reference.