std :: sync::task
Function std::run_rounds
generic<S: TaskRunner> int run_rounds(&S s, int max_rounds)Runs at most max_rounds rounds of s (a bounded run_all, e.g. for a watchdog-fed main loop). Returns the tasks still active afterwards.
std :: sync::task
generic<S: TaskRunner> int run_rounds(&S s, int max_rounds)Runs at most max_rounds rounds of s (a bounded run_all, e.g. for a watchdog-fed main loop). Returns the tasks still active afterwards.