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 X-Google-Thread: 103376,148d39ae0d22411d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-29 19:03:12 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!feed.textport.net!out.nntp.be!propagator-SanJose!news-in-sanjose!newshub2.rdc1.sfba.home.com!news.home.com!news1.sttln1.wa.home.com.POSTED!not-for-mail From: "DuckE" Newsgroups: comp.lang.ada References: <3BB08F9C.BFB01047@raytheon.com> <3BB10D52.4D455DBA@raytheon.com> <3BB60733.4A80708A@avercom.net> Subject: Re: Pragma Volatile X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Sun, 30 Sep 2001 02:03:11 GMT NNTP-Posting-Host: 24.248.45.203 X-Complaints-To: abuse@home.net X-Trace: news1.sttln1.wa.home.com 1001815391 24.248.45.203 (Sat, 29 Sep 2001 19:03:11 PDT) NNTP-Posting-Date: Sat, 29 Sep 2001 19:03:11 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:13531 Date: 2001-09-30T02:03:11+00:00 List-Id: wrote in message news:m3ofnt26xq.fsf@wf-rch.cirr.com... > Tucker Taft writes: > > > There shouldn't be any problem if you are using this in a mono-processor. > (talking about volatiles not being important on uniprocessors). > > Note that this isn't true at all. Multiprocessors require special > instructions for syncronization, but volatile is just as important on > a uniprocessor as a multiprocessor Go re-read Tuckers' post. Keep in mind that when working on a multiprocessor system, the compiler doesn't have any control over cache consistancy. SteveD