From: "T.G." <anon@anon.org>
Subject: Re: Abortable Timed Action
Date: Sat, 9 Jan 2016 15:59:20 +0000 (UTC)
Date: 2016-01-09T15:59:20+00:00 [thread overview]
Message-ID: <n6raon$2l50$1@adenine.netfront.net> (raw)
In-Reply-To: ly37u7p2dd.fsf@pushface.org
On 2016-01-09, Simon Wright <simon@pushface.org> wrote:
> The common solution is something like
> ...
> delay until Next;
> Next := Next + Interval; -- *not* Ada.Calendar.Clock + Interval
Yes, using Next is much better than my :
delay until (Start + (Interval * Counter));
Counter := Counter + 1;
--- news://freenews.netfront.net/ - complaints: news@netfront.net ---
prev parent reply other threads:[~2016-01-09 15:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-31 4:15 Abortable Timed Action T.G.
2015-12-31 6:40 ` Anh Vo
2015-12-31 7:32 ` T.G.
2015-12-31 16:21 ` Anh Vo
2015-12-31 18:09 ` T.G.
2016-01-06 21:14 ` Anh Vo
2016-01-08 20:24 ` T.G.
2016-01-09 8:45 ` Simon Wright
2016-01-09 9:10 ` Dmitry A. Kazakov
2016-01-09 14:41 ` Bob Duff
2016-01-09 15:59 ` T.G. [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox