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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,6d5b546da2b20daa,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,CP1252 Path: g2news1.google.com!postnews.google.com!19g2000yql.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Hibou57_=28Yannick_Duch=EAne=29?= Newsgroups: comp.lang.ada Subject: Multiple Delay alternatives : what it is useful to ? Date: Wed, 3 Feb 2010 19:47:33 -0800 (PST) Organization: http://groups.google.com Message-ID: <77f81f9d-23a2-4d59-a547-c577e009c50c@19g2000yql.googlegroups.com> NNTP-Posting-Host: 86.66.190.223 Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1265255253 18255 127.0.0.1 (4 Feb 2010 03:47:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 4 Feb 2010 03:47:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 19g2000yql.googlegroups.com; posting-host=86.66.190.223; posting-account=vrfdLAoAAAAauX_3XwyXEwXCWN3A1l8D User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; fr),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8868 Date: 2010-02-03T19:47:33-08:00 List-Id: Hi all out there, [ARM 9.7.1(10)] and [ARM 9.7.1(13)], http://www.adaic.org/standards/05rm/html/RM-9-7-1.html explicitly allows multiple Delay alternatives in a Select statement (finally GNAT was right), as I've checked. Know I now it is legal, I just wonder why ? If some delays stand for a time which is sooner than others delays alternatives, the others will never be triggered. Or they may be ? Does it have something to deal with variable delay ? If it is, the runtime will then simply select the sooner ignoring all others ? And what if two delays stands for the same time ? I do not see anything which clarify this situation in the RM (may be I've missed it). Are they some real life examples of useful multiple delays alternatives ? By the way, a sentence is unclear to me : at 9.7.1(10), there is a =93 If a selective_accept contains more than one delay_alternative, then all shall be delay_relative_statements, or all shall be delay_until_statements for the same time type. =94 .... same time type ? I could not construe these last three words.