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,3b69de4361f731f1 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: ATC, an example please. Date: 30 Jun 2005 16:31:04 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <1120121092.240284.285260@g14g2000cwa.googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1120163464 29101 192.74.137.71 (30 Jun 2005 20:31:04 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Thu, 30 Jun 2005 20:31:04 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: g2news1.google.com comp.lang.ada:11783 Date: 2005-06-30T16:31:04-04:00 List-Id: "Dmitry A. Kazakov" writes: > > But I was under the impression that the original poster wanted to abort > > the processing inside the accept statement, and allow the task to loop > > back and accept entry calls again. > > Maybe, however it is difficult to see why then there could be any need in > two tasks. During rendezvous they stay synchronous anyway, so it is better > to have a subprogram inside the ATC. Good point. But we don't know how "oversimplified" the original example was (compared to the real program they were trying to write). - Bob