From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a02:1b55:: with SMTP id l82-v6mr37539120jad.2.1537571621385; Fri, 21 Sep 2018 16:13:41 -0700 (PDT) X-Received: by 2002:aca:d551:: with SMTP id m78-v6mr282695oig.1.1537571621231; Fri, 21 Sep 2018 16:13:41 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!fdn.fr!proxad.net!feeder1-2.proxad.net!209.85.166.215.MISMATCH!x188-v6no111515ite.0!news-out.google.com!z5-v6ni103ite.0!nntp.google.com!x81-v6no112190ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 21 Sep 2018 16:13:40 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=176.10.164.41; posting-account=IWGXAgoAAAAN22gxH4FLrPfxoHPdumnx NNTP-Posting-Host: 176.10.164.41 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <3390a545-8996-4e6c-9b82-4f132e5935c4@googlegroups.com> Subject: Re: Watchdog-Timer Assignment From: Alex Injection-Date: Fri, 21 Sep 2018 23:13:41 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:54397 Date: 2018-09-21T16:13:40-07:00 List-Id: > Have you tried getting the current time, doing the math to find the next second, and then doing a delay there? I did it that way as a beginning, but I can't use the "delay"-command because it is relative delay. I need to use "delay until" because the delay-command have something called "delay drift". And for that to happen I have to have a variable with the Time-type and I have no idea how to get a Time-typed variable to round up to next second.