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-Thread: 103376,3f60acc31578c72b X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.megapath.net!news.megapath.net.POSTED!not-for-mail NNTP-Posting-Date: Thu, 16 Mar 2006 21:26:12 -0600 From: "Randy Brukardt" Newsgroups: comp.lang.ada References: <1b9zea3ok5znb.13wc5k9as88ix.dlg@40tude.net> Subject: Re: question about tasks, multithreading and multi-cpu machines Date: Thu, 16 Mar 2006 21:26:19 -0600 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: NNTP-Posting-Host: 64.32.209.38 X-Trace: sv3-T8z5q7Ou2zIXee/gUzAQ6WpvumIw14AW5zZc0qICpeGPMg2qNwbiXVvjwnMUJhXeL8FJk3EQSHlyzpK!8B4geZV+KRgJ+5tWxteOJ7y7uhBLBu6zZ7Kjbi7raFH9Q3FCpqew/f/QVjLgQGyhuwSxtCRy87NE!hu1lSrbAfz35kQ== X-Complaints-To: abuse@megapath.net X-DMCA-Complaints-To: abuse@megapath.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.lang.ada:3392 Date: 2006-03-16T21:26:19-06:00 List-Id: "Dmitry A. Kazakov" wrote in message news:1b9zea3ok5znb.13wc5k9as88ix.dlg@40tude.net... > 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. Sounds like you're ready for Ada 200Y, which has tagged task types. :-) No extension, though, because no one has a clear model for what it could mean to extend a chunk of code (especially to compose synchronization in a meaningful way). Randy.