From: Norman Worth <nworth@comcastNOSPAM.net>
Subject: Re: Ada 95 Timers: Any Alternatives Available, Storage, Efficiency, Reliability, Accuracy, Et Cetera Issues?
Date: Tue, 11 Jun 2019 10:25:15 -0600
Date: 2019-06-11T10:25:15-06:00 [thread overview]
Message-ID: <euudnQad0_FxSGLBnZ2dnUU7-RPNnZ2d@giganews.com> (raw)
In-Reply-To: <glabgtFkijoU1@mid.individual.net>
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.
prev parent reply other threads:[~2019-06-11 16:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-30 13:57 Ada 95 Timers: Any Alternatives Available, Storage, Efficiency, Reliability, Accuracy, Et Cetera Issues? Felix_The_Cat@gmail.com
2019-05-30 15:34 ` Niklas Holsti
2019-05-30 16:20 ` Dmitry A. Kazakov
2019-06-11 16:25 ` Norman Worth [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