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-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!feeder.erje.net!news.tornevall.net!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: C++0x and Threads - a poor relation to Ada's tasking model? Date: Tue, 11 Aug 2009 17:06:38 -0700 Organization: TornevallNET - http://news.tornevall.net Message-ID: References: <7q2385104kihs87d79p8kfphuoki6r01vq@4ax.com> NNTP-Posting-Host: 421dda834e76425c3e911c84b4fd6a20 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: 1b678af7f338bc59cec6685230497155 X-Complaints-To: abuse@tornevall.net X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE! In-Reply-To: X-Validate-Post: http://news.tornevall.net/validate.php?trace=1b678af7f338bc59cec6685230497155 X-SpeedUI: 1738 X-Complaints-Italiano: Parlo la lingua non � italiano User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) X-Posting-User: 9b22bfe2855937f9b3faeec7cfc91295 Xref: g2news2.google.com comp.lang.ada:7687 Date: 2009-08-11T17:06:38-07:00 List-Id: jimmaureenrogers@worldnet.att.net wrote: > I did follow the threading issues early on. > During the early discussions the decision was made to provide > a standard threading library rather than adding any new > reserved words to the language. This approach provided > minimum impact on existing software while providing significant > threading support. My objection, which was not considered > significant, was that the compilers have less information for > checking the correctness of library calls than they do of checking > the syntax of reserved words. Ada's support for tasking is, and always has been, high-level and inherently safe. Threading provided by an OS, or a library, or Java, is low-level and error-prone. Since the C family of languages seems to prefer low-level and error-prone, I won't be surprised if that's what C++ adopts. -- Jeff Carter "My little plum, I am like Robin Hood. I take from the rich, and I give to the poor. ... Us poor." Poppy 96