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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!io.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Real tasking problems with Ada. Date: Fri, 4 Aug 2017 18:22:52 -0500 Organization: JSA Research & Innovation Message-ID: References: <9e51f87c-3b54-4d09-b9ca-e3c6a6e8940a@googlegroups.com> <49d02dda-8f1b-4005-a164-7af34e1993cc@googlegroups.com> <914ae4df-cc52-4e6e-b342-584bcac98e88@googlegroups.com> Injection-Date: Fri, 4 Aug 2017 23:22:53 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="14015"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: news.eternal-september.org comp.lang.ada:47593 Date: 2017-08-04T18:22:52-05:00 List-Id: "Robert Eachus" writes: >Now I'm really confused. ... You've reached the limits of my knowledge of memory hardware. In theory, the Independent_Components aspect should ensure that different components can be read/written by different tasks independently. But I don't know how/whether cache lines get involved (my understanding was that putting the components into different words was sufficient). But you could be right (having tried this much more than I have). In any case, the compiler is supposed to do the right thing when Independent_Components is used. Randy.