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: 103376,16594902ce57591b X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.in2p3.fr!in2p3.fr!proxad.net!proxad.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Multitasking and containers From: Georg Bauhaus In-Reply-To: References: <143yx0dos45nx.159wpxvfevtt8.dlg@40tude.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: # Message-Id: <1164623427.5986.11.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Date: Mon, 27 Nov 2006 11:30:28 +0100 NNTP-Posting-Date: 27 Nov 2006 11:21:10 CET NNTP-Posting-Host: 79814a1e.newsspool2.arcor-online.net X-Trace: DXC=I2ILlScg;:X@>[RYkFXOIPA9EHlD;3YcR4Fo<]lROoRQFl8W>\BH3YRWM;lRK\R4mQMZlZAe?0;7]:>a@3He_lATMLf86VT@egQ[C[RI0c9=:Y X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:7706 Date: 2006-11-27T11:21:10+01:00 List-Id: On Mon, 2006-11-27 at 04:17 +0000, Jeffrey R. Carter wrote: > Matthew Heaney wrote: > > "Dmitry A. Kazakov" writes: > > > >> Write your own container. Parallel systems require delicate handmade work. > > > > Horrible advice. Just declare the container inside a protect object, and > > manipulate the container by calling protected procedures. Works great... > > Not at all, [...]. Specific projects may, and > sometimes will, have requirements that are not met by such libraries. But "parallel systems require delicate handmade work" is probably not good advice at all, because (a) parallel systems operate in parallel and there isn't a sharing issue in the first place, no protection is needed. (b) When systems start communicating, and if it were true that concurrency requires delicate handmade work, why then use a language like Ada? The delicacies of the mechanisms behind tasks and shared protected objects are hidden in Ada RTSs. Therefore, if parallel systems do require delicate handmade work, the language designers should abandon Ada tasks and protected objects, because obviously they cannot meet the requirements of parallel systems.