Comment
Comment by onox
In Ada you can do something similar:
Or with package Ada.Real_Time:
Or use `delay until`:
`delay until` is useful in loops because `delay` sleeps at least the given duration, so you get drift. (You call Clock only once and store it in a variable before the loop and then update it adding the time span each iteration)