comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: About protected objects: entries with barriers depending on external data = bad practice ?
Date: Wed, 15 Nov 2017 19:03:47 -0600
Date: 2017-11-15T19:03:47-06:00	[thread overview]
Message-ID: <ouio5k$ftu$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: eba98c11-5a28-476d-b508-96e73469a256@googlegroups.com

"reinert" <reinkor@gmail.com> wrote in message 
news:eba98c11-5a28-476d-b508-96e73469a256@googlegroups.com...
>Letting barriers depend on external data = asking for trouble?

Yes. Barriers are only checked after some other protected action completes 
(that might change the *internal* data). There is no attempt to check for 
changes in external data.

                       Randy. 



      parent reply	other threads:[~2017-11-16  1:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-12  5:23 About protected objects: entries with barriers depending on external data = bad practice ? reinert
2017-11-12  7:32 ` Dmitry A. Kazakov
2017-11-12  8:15   ` Simon Wright
2017-11-12 10:02 ` Jeffrey R. Carter
2017-11-16  1:03 ` Randy Brukardt [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox