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!news.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Safety of unprotected concurrent operations on constant objects Date: Sat, 03 May 2014 17:28:43 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <7403d130-8b42-43cd-a0f1-53ba34b46141@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 4 May 2014 00:28:45 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="42ea65963a295dd28559459f9f96c6a5"; logging-data="2037"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ILDYLIRu25fu2LWkPifMGO1xSf+MgpPg=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: Cancel-Lock: sha1:ee0ADnz2cOx+HCbhccuQlaqAckE= Xref: news.eternal-september.org comp.lang.ada:19652 Date: 2014-05-03T17:28:43-07:00 List-Id: On 05/03/2014 02:40 PM, Simon Wright wrote: > > Of course those considerations have nothing to do with whether your > supposedly constant elements are in fact so. I have no idea what the OP is asking. Values stored in a container are not constant. I can't off the top of my head think of anything you can declare with the reserved word constant that you couldn't read concurrently. Perhaps an example of the case(s) the OP is worried about would help. -- Jeff Carter "You cheesy lot of second-hand electric donkey-bottom biters." Monty Python & the Holy Grail 14