[][src]Function harsark::tasks::init

pub fn init() -> Result<(), KernelError>

Initializes the Kernel scheduler and creates the idle task, a task that puts the CPU to sleep in a loop. The idle task is created with zero priority; hence, it is only executed when no other task is in Ready state.