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!feeder.eternal-september.org!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 11 Jun 2019 11:25:16 -0500 Subject: Re: Ada 95 Timers: Any Alternatives Available, Storage, Efficiency, Reliability, Accuracy, Et Cetera Issues? Newsgroups: comp.lang.ada References: From: Norman Worth Date: Tue, 11 Jun 2019 10:25:15 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-dSPtO4gGRRF0zUf/eP4jIOGSKasydBtMGDOZQHIusXmkUleSKg0SRm+rf7FPo2oxwLh+UT3HxBLpnmA!SYpH7KGYoAAozeoIs+n2WL8iKLvvvN4rV0e/5WMeSdIiiSMwjfHjj7rCktmKzmZG9RuIS4ZAP8mg X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2141 X-Received-Bytes: 2423 X-Received-Body-CRC: 795336095 Xref: reader01.eternal-september.org comp.lang.ada:56615 Date: 2019-06-11T10:25:15-06:00 List-Id: Niklas Holsti wrote: > On 19-05-30 16:57 , Felix_The_Cat@gmail.com wrote: >> >> What are the limitations of the "with Timer;" in Ada 95? > > Not understood. There is no standard "package Timer" in Ada 95 (nor > other Ada standards, AFAIK). > >> I want to simply do something in the Ada code when the timer >> counts down to 0. > > That sounds like some HW timer. Normally you would not use those > directly, but instead use the "delay" or "delay until" statements, to > wait until the actual time when something should be done, and let the > compiler and run-time system handle the HW timers. > It sounds like you want to use a delay statement. If you just want to wait until the timer expires, a simply delay will do. If you want to do something during the delay, use a task with a delay statement in an entry.