Function create_task

Source
pub fn create_task(desc: TaskDescriptor) -> Result<TaskId, KernelError>
Expand description

Create a new task.

desc - The task descriptor. main_desc - The main thread descriptor. main_timing - The timing information for the main thread.

Returns the task ID if the task was created successfully, or an error if the task could not be created.