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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Watchdog-Timer Assignment Date: Sat, 22 Sep 2018 08:04:41 +0100 Organization: A noiseless patient Spider Message-ID: References: <3390a545-8996-4e6c-9b82-4f132e5935c4@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="b7cb268d192b617dec5f8e5c11ad1594"; logging-data="24733"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+T+KBY/rOegtZHJyzAkGAtC126TEVlZpw=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (darwin) Cancel-Lock: sha1:FCZPmDv9ZlMNeEtvtZjuZeGePq0= sha1:uz83Pgo2IhLYSVAA7uzeyJXkOY4= Xref: reader02.eternal-september.org comp.lang.ada:54403 Date: 2018-09-22T08:04:41+01:00 List-Id: Alex writes: > 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". Well, the program doesn't start out on a whole wall-clock second, so I don't see why it need sync to the wall clock only if a procedure misses its deadline! You may say "but it's a requirement"; but it's the sort of requirement that needs to be properly justified, not handed down on tablets of stone. Would be just as reasonable to run in whole seconds from program start-up (I've moved over to a Ravenscar mindset, at least as far as time stuff is concerned, so used to not having relative delay statements).