The init() command initializes the task queue and scheduler data structures. run Next Task() MUST run to completion whatever task the scheduler's policy decides is the next one: the return value indicates whether it ran a task. The bool parameter sleep indicates what the scheduler should do if there: