Function new_kernel_task
Source pub fn new_kernel_task(name: String, priority: u32, func: fn()) -> Task
Expand description
Create a new kernel task.
§Arguments
name
- The name of the task
priority
- The priority of the task
func
- The function to run in the task
§Returns
The new task.