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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Advice, tasking and hardware Date: Fri, 27 May 2016 12:06:56 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <25c43463-47ca-4021-82ee-299e6a075faa@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Fri, 27 May 2016 19:03:23 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="48b46be33beed75863f69afa437f956b"; logging-data="25172"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9kRSLieKOh+zijpHuhp4Ii3aGgVJcziQ=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 In-Reply-To: Cancel-Lock: sha1:flRDEI/JCh8w9cNOT9Q16Su76vk= X-Enigmail-Draft-Status: N1110 Xref: news.eternal-september.org comp.lang.ada:30493 Date: 2016-05-27T12:06:56-07:00 List-Id: On 05/27/2016 12:50 AM, Dmitry A. Kazakov wrote: [a lot of irrelevant stuff] No response to this post is needed, since it had nothing to do with the specific point I made and to which he was apparently responding. However, there is a false statement that should be corrected. > 3. Ada tasks have problems with termination. The termination alternative design > makes is unusable in most cases. There must be Shut_Down entry instead and a > caller of it as well. I have personally written hundreds of tasks that cannot use a terminate alternative and do not have an entry to cause them to terminate, yet which terminate normally when they should. Anyone who can't see multiple ways to achieve this using only tasks and protected objects should not be considered competent to develop concurrent software. -- Jeff Carter "I'm a kike, a yid, a heebie, a hook nose! I'm Kosher, Mum! I'm a Red Sea pedestrian, and proud of it!" Monty Python's Life of Brian 77