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: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.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: Sun, 04 May 2014 13:29:58 -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 20:30:00 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="42ea65963a295dd28559459f9f96c6a5"; logging-data="1268"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19l9RKAbPyjkRY3Eg3VioGFnRcIyAZexJQ=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: Cancel-Lock: sha1:Yf6P7TU1IqnheDyjgM5Avs6W6PA= X-Original-Bytes: 2130 Xref: number.nntp.dca.giganews.com comp.lang.ada:186220 Date: 2014-05-04T13:29:58-07:00 List-Id: On 05/04/2014 12:36 PM, Simon Wright wrote: > Jeffrey Carter writes: > >> And since you have the source to GNAT's ordered map package, you can >> look at it and see that this specific implementation is not task safe. > > I had a look at it following this thread, and I have to say it's quite > challenging. Could do with some architectural documentation, I think! I'm taking as correct the assertion here that the implementation is not task safe. I haven't looked at it myself. -- Jeff Carter "Brave Sir Robin ran away." Monty Python and the Holy Grail 59