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,3f60acc31578c72b X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed01.chello.at!newsfeed.arcor.de!news.arcor.de!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: question about tasks, multithreading and multi-cpu machines Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.14.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: Date: Thu, 16 Mar 2006 13:59:45 +0100 Message-ID: <1b9zea3ok5znb.13wc5k9as88ix.dlg@40tude.net> NNTP-Posting-Date: 16 Mar 2006 13:59:45 MET NNTP-Posting-Host: 4b36d237.newsread4.arcor-online.net X-Trace: DXC=jR9Y@h^lW3CL0\Y_Wg[Z[N:ejgIfPPldDjW\KbG]kaMHeDdmR4DE3RL> On Thu, 16 Mar 2006 09:06:12 +0100, Maciej Sobczak wrote: > The tasks in Ada do not match any of the above. Other languages (for > example Java) also got it wrong, by treating threads as objects or even > by allowing a programmer to "subclass" or "specialize" a thread class. Hmm, if task type is a type then it should obey operations of the types algebra, which includes inheritance, aggregation. So I vote for tagged task types. What could be an alternative? Honestly I can't think anything useful out. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de