On 05-06-18, 07:48, Daniel Lezcano wrote: > As soon as we reach complete(), no timer can be set because of the > condition before.
Why not ? We aren't using any locks here and it is possible that run_duration_ms is set to 0 from idle_injection_stop() only after the first thread has restarted the hrtimer. Isn't it ? -- viresh