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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6f24e26ea2e03c4 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!news.astraweb.com!border2.a.newsrouter.astraweb.com!news.netcologne.de!ramfeed1.netcologne.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Threadpool with priority version 1.1 ... Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <21e6697e-fd7c-4c5e-93dc-8d894449b5e6@f8g2000yqn.googlegroups.com> <4ba9e189$0$6886$9b4e6d93@newsspool2.arcor-online.net> <1id5xnuz0x892$.1odbic5ppiv07.dlg@40tude.net> <4baa27f2$0$6770$9b4e6d93@newsspool3.arcor-online.net> Date: Thu, 25 Mar 2010 09:39:40 +0100 Message-ID: NNTP-Posting-Date: 25 Mar 2010 09:39:55 CET NNTP-Posting-Host: 11a18241.newsspool4.arcor-online.net X-Trace: DXC=UC`KRJfahUem7>ihJR;B_c4IUK=j10=dJ5oEfj3SMgk X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:10732 Date: 2010-03-25T09:39:55+01:00 List-Id: On Wed, 24 Mar 2010 15:55:45 +0100, Georg Bauhaus wrote: > Dmitry A. Kazakov schrieb: >> how the proposed algorithms map onto the >> Ada tasking model, especially taking into account that Ada tasking >> primitives are higher level, than ones known in other languages. > > As a side note: it seems anything but easy to explain > the idea of a concurrent language, not a library, and > not CAS things either, as the means to support the programmer > who wishes to express concurrency. This is a strange claim. A library cannot express concurrency, I mean the procedural decomposition cannot. There is some magic added which tells that the procedure is called on a context of a thread or process etc, for nether is a part of a non-concurrent language. So the idea of a scheduled item with a context in part independent on the rest and in part sharing things with other scheduled items needs a lot of words to explain. > Concurrency is not seen as one of the modes of expression > in language X. That is a design fault of the corresponding language. Then you will need to specify the semantics of shared objects in presence of concurrency anyway. How would you do this *outside* the language? > Rather, concurrency is seen as an effect > of interweaving concurrency primitives and some algorithm. No, concurrent algorithms are quite different from the sequential ones. The same can be said about objects (in the context of OOP). -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de