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: border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Simp,e example for 2 tasks Date: Mon, 22 Sep 2014 10:48:17 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <9b22dd09-6137-4f4b-8be1-28255032df70@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Mon, 22 Sep 2014 17:48:19 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="ff2e5d21b9fb0a12a9871c15f1d89f02"; logging-data="8008"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+x7KEtGsIeUgeJwouEJbOlLWWCRLnIzFg=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 In-Reply-To: Cancel-Lock: sha1:9ojlTeVbzGHEWusoXTW57kG00sA= Xref: number.nntp.dca.giganews.com comp.lang.ada:189088 Date: 2014-09-22T10:48:17-07:00 List-Id: On 09/22/2014 12:18 AM, Niklas Holsti wrote: > > Hmm... I don't quite agree with that. It seems to me that rendez-vous > interaction between tasks could be implemented in a distributed system, > as long as the entry parameters can be passed by value or by copy-in > copy-out. It is the global shared variables and reference parameters > that would make a distributed approach difficult for Ada programs using > such constructs. I don't know Erlang well enough to understand if it has > some solution for that, or if it simply forbids such things. Well, of course one can implement rendezvous between tasks in different partitions in a distributed system, since that's possible through the DSA. It's a lot of additional work, however, compared to implementing distributed messaging. You're right about the shared-memory aspect of tasking being another factor that complicates things. -- Jeff Carter "Blessed are they who convert their neighbors' oxen, for they shall inhibit their girth." Monty Python's Life of Brian 83