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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5b15c37c5d0c986f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!i39g2000cwa.googlegroups.com!not-for-mail From: "Anh Vo" Newsgroups: comp.lang.ada Subject: Re: Designing Timers using Ada.Real_Time.Timing_Events package Date: 28 Mar 2006 08:00:11 -0800 Organization: http://groups.google.com Message-ID: <1143561611.063887.84210@i39g2000cwa.googlegroups.com> References: <1143317010.868435.251190@v46g2000cwv.googlegroups.com> <1d4yew2i587h5.1h8dilwbda4zv.dlg@40tude.net> <1143351567.528574.297850@z34g2000cwc.googlegroups.com> <1fiau0e4pe84o$.gulfgysczk5i$.dlg@40tude.net> <1143389936.844624.243020@i40g2000cwc.googlegroups.com> <1143402228.182836.29570@v46g2000cwv.googlegroups.com> <1pvsgg60odxin$.16vcgq2jyhf8g$.dlg@40tude.net> <1143496801.549618.279120@t31g2000cwb.googlegroups.com> <1gyqhdonzlb1x.1a5ckmt6o6cou$.dlg@40tude.net> NNTP-Posting-Host: 209.225.226.157 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1143561618 31098 127.0.0.1 (28 Mar 2006 16:00:18 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 28 Mar 2006 16:00:18 +0000 (UTC) In-Reply-To: <1gyqhdonzlb1x.1a5ckmt6o6cou$.dlg@40tude.net> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: i39g2000cwa.googlegroups.com; posting-host=209.225.226.157; posting-account=JVr7Xg0AAAAI3MbuARxMmvWLmA7qdJMx Xref: g2news1.google.com comp.lang.ada:3670 Date: 2006-03-28T08:00:11-08:00 List-Id: > 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