comp.lang.ada
 help / color / mirror / Atom feed
From: "Anh Vo" <anhvofrcaus@gmail.com>
Subject: Re: Designing Timers using Ada.Real_Time.Timing_Events package
Date: 28 Mar 2006 08:00:11 -0800
Date: 2006-03-28T08:00:11-08:00	[thread overview]
Message-ID: <1143561611.063887.84210@i39g2000cwa.googlegroups.com> (raw)
In-Reply-To: <1gyqhdonzlb1x.1a5ckmt6o6cou$.dlg@40tude.net>

 > Emulates a premature timer event. It could be a direct call to
Signal:
>
>    Signal (The_Event);

OK got it. It is used to notify on demand.

> It can be a procedure rather than entry, because Signal is a procedure.

I agree it should be a procedure.

> >       end Simulate;
> >
> >       procedure Signal (Event: in out
> > Real_Time.Timing_Events.Timing_Event) is
> >       begin
> >          Occurred := True;
> >          -- Action to be performed.
> >       end Signal;
> >
> >    end Periodic_Timer;
> >
> > end Dmitry_Timers;
>
> I cannot comment on Real_Time.Timing_Events, I have no any experience of
> using it...

I did not have much experience on Timing_Events until I read John
Barnes' Ada 2005 rationale. In addition, I gained more confidence after
compile and running it.

AV




  reply	other threads:[~2006-03-28 16:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-25 20:03 Designing Timers using Ada.Real_Time.Timing_Events package Anh Vo
2006-03-25 20:58 ` Dmitry A. Kazakov
2006-03-26  5:39   ` Anh Vo
2006-03-26 12:58     ` Dmitry A. Kazakov
2006-03-26 16:18       ` Anh Vo
2006-03-26 18:22         ` Dmitry A. Kazakov
2006-03-26 19:43           ` Anh Vo
     [not found]             ` <3itd22hcekts5lsojdqjnn966bbvc8fckh@4ax.com>
2006-03-26 23:53               ` Anh Vo
     [not found]                 ` <0mae22lshe5nee8pt8h7seussloebv07g3@4ax.com>
2006-03-27  5:01                   ` Anh Vo
     [not found]                     ` <5vse22h4mc1och27s0nkbv986csi2rorki@4ax.com>
2006-03-28  0:07                       ` Anh Vo
2006-03-27  7:49             ` Dmitry A. Kazakov
2006-03-27 18:14               ` Dmitry A. Kazakov
2006-03-27 22:00                 ` Anh Vo
2006-03-28  7:51                   ` Dmitry A. Kazakov
2006-03-28 16:00                     ` Anh Vo [this message]
2006-03-26  7:59 ` Martin Krischik
2006-03-26 15:50   ` Anh Vo
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox