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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3e11ef4efc073f6b X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!w1g2000prk.googlegroups.com!not-for-mail From: christoph.grein@eurocopter.com Newsgroups: comp.lang.ada Subject: Re: requeue with abort and timed call Date: Sun, 28 Dec 2008 07:53:44 -0800 (PST) Organization: http://groups.google.com Message-ID: <84c56781-1cb1-4d86-be14-e66fc9fdade6@w1g2000prk.googlegroups.com> References: <2a60b044-6a5c-4ce6-93e6-6eeefc8806c3@l33g2000pri.googlegroups.com> <1f6rcb1qwt7vx.1mckzyk9ucohf.dlg@40tude.net> NNTP-Posting-Host: 91.13.202.109 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1230479624 27064 127.0.0.1 (28 Dec 2008 15:53:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 28 Dec 2008 15:53:44 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: w1g2000prk.googlegroups.com; posting-host=91.13.202.109; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:3099 Date: 2008-12-28T07:53:44-08:00 List-Id: I do not see a problem with aborting. Why should the entry call be aborted? After elaboration of the declaration part of Req, at the begin keyword, the task T starts and is blocked at entry Original_Call. Concurrently the main task proceeds to the select statement, where it waits at most 1 s for the rendezvous to take place. Since T is already waiting there, the rendezvous takes place, so the "or delay" is never executed. The rendezvous terminates after 3 s, and T goes into the infinte loop. The main task, the master of T, now waits for T to terminate (which will never happen), so the process never ends. This is not an asynchronous select: select delay ...; then abort Original_Call; end select;