Function cosync::sleep_ticks
source · [−]pub fn sleep_ticks(ticks: usize) -> SleepForTick
Expand description
Sleep the Cosync
for a given number of calls to run_until_stall
.
If you run run_until_stall
once per tick in your main loop, then
this will sleep for that number of ticks.
If you run run