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,e0e1d3b3f7c994b8 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Robert Dewar's great article about the Strengths of Ada over other langauges in multiprocessing! Date: Fri, 28 Mar 2008 01:34:26 -0500 Organization: Jacob's private Usenet server Message-ID: References: <13t4b2kkjem20f3@corp.supernews.com> <89af8399-94fb-42b3-909d-edf3c98d32e5@n75g2000hsh.googlegroups.com> <87bq56peg1.fsf@mid.deneb.enyo.de> <87bq516uri.fsf@mid.deneb.enyo.de> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: jacob-sparre.dk 1206686112 6895 69.95.181.76 (28 Mar 2008 06:35:12 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Fri, 28 Mar 2008 06:35:12 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1914 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914 Xref: g2news1.google.com comp.lang.ada:20609 Date: 2008-03-28T01:34:26-05:00 List-Id: "Ole-Hjalmar Kristensen" wrote in message news:wvbrlk44zf5l.fsf@astra06.norway.sun.com... ... > On the other hand, I cannot see any reason why Annex C just couldn't > say that intrinsic subprograms for compare-amd-swap and similar > machine operations shall be provided *if* they are available on a platform. > That would at least save me the work of writing the bindings myself. It does, actually. See C.1(11-16). It's "only" Implementation Advice, but that is necessary in any case, because the Standard can't require something it can't define. A more interesting question is whether implementations follow that advice (in any useful manner). Randy.