pub fn schedule() -> bool
Yields the current CPU by selecting a new
Task to run
and then switching to that new
Preemption will be disabled while this function runs, but interrupts are not disabled because it is not necessary.
trueif a new task was selected and switched to.
falseif no new task was selected, meaning the current task will continue running.