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-Language: ENGLISH,ASCII X-Google-Thread: 103376,3d841c019952cb X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-03 06:37:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!tar-alcarin.cbb-automation.DE!not-for-mail From: Dmitry A. Kazakov Newsgroups: comp.lang.ada Subject: Re: ADA Tasks Date: Tue, 03 Dec 2002 15:37:33 +0100 Message-ID: <9kfpuu4vlb0vm2j74911icc17b4cme21kc@4ax.com> References: NNTP-Posting-Host: tar-alcarin.cbb-automation.de (212.79.194.111) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1038926254 29041054 212.79.194.111 (16 [77047]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:31382 Date: 2002-12-03T15:37:33+01:00 List-Id: On Mon, 2 Dec 2002 16:46:45 +0100, "Jean-Pierre Rosen" wrote: >"Robert A Duff" a �crit dans le message news: >wccbs44qwoz.fsf@shell01.TheWorld.com... >> khurmie@hotmail.com (Khuram Imtiaz) writes: >> >> However, protected objects are often a better way to communicate than >> rendezvous, because they decouple the communicating tasks. They are >> also more efficient on many implementations. >> >However, they make proper termination more difficult, ... and they are unable to exchange data. Technically it is possible using Requeue, but it is so painful and error prone that one should better use rendezvous [for that]. >and are (IMHO) of lower level than rendezvous. A level measured in what? (:-)) They are really difficult to compare. But both have the same problem, they do not very support refactoring. Neigther protected object nor task can be extended or split, leaving the interface intact. >As usual, having a choice means that you have to make a choice... ! --- Regards, Dmitry Kazakov www.dmitry-kazakov.de