On Wed, 14 Oct 2020 20:06:50 -0500, Scott Cheloha wrote: > ... should I shove the for-loop into the helper function too? Maybe > call it "cancel_all_itimers()"? I have a vague feeling that showing > the reader that there are multiple timers is a good thing here, but > then again maybe I'm wrong and nobody cares.
Since the consumers of this function all iterate over the array of timers my inclination would be to push the for-loop into the helper too. - todd