comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Help with Atomic_Components and whole array assignment
Date: Fri, 02 Feb 2001 03:45:56 GMT
Date: 2001-02-02T03:45:56+00:00	[thread overview]
Message-ID: <95dahj$184$1@nnrp1.deja.com> (raw)
In-Reply-To: 95ctln$ff437$2@ID-25716.news.dfncis.de

In article <95ctln$ff437$2@ID-25716.news.dfncis.de>,
  "Nick Roberts" <nickroberts@callnetuk.com> wrote:
> If it's any consolation Tuck

I doubt Tuck needs consolation at all, let alone from Nick :-)
:-)

> my interpretation of Volatile (nothing to do
> with Atomic) would always have been (and still is) that:
>
>    for i in A'Range loop
>       A(i) := 0;
>    end loop;
>
> where Volatile (or Volatile_Components) applied to A, would
> generate A'Length separate copies into memory, in whatever
> machine code it was.

Fine, but you cannot just state "your interpretation" without
backing it up with evidence from the RM.

> My interpretation of Atomic would be simply to avoid
> generating code that might bugger up multi-task access to the
> object Atomicked

But as you surely know, all Atomic objects are also Volatile,
so I don't see your point

> I propose a representation attribute, Storage_Operations

<<proposal snipped>>

This seems ill-conceived and far too complex. I don't see what
it would buy in terms of portable code. I think the paragraph
of implementation advice I suggested would be adequate to
achieve everything this more complex proposal does in practice.


Sent via Deja.com
http://www.deja.com/



  reply	other threads:[~2001-02-02  3:45 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-22 11:22 Help with Atomic_Components and whole array assignment r_c_chapman
2001-01-22 12:51 ` Stuart Palin
2001-01-22 14:16   ` mark_lundquist
2001-01-22 16:09     ` Pat Rogers
2001-01-22 16:29     ` Robert Dewar
2001-01-22 19:52       ` Mark Lundquist
2001-01-30 15:54       ` Tucker Taft
2001-01-30 18:20         ` Robert Dewar
2001-01-31  5:08           ` DuckE
2001-01-31  5:57             ` Robert Dewar
2001-02-01  3:31               ` DuckE
2001-02-02 21:38               ` Mark Lundquist
2001-02-02 23:08                 ` Robert Dewar
2001-02-03  1:39                 ` tmoran
2001-01-22 16:21 ` Robert Dewar
2001-01-22 16:39   ` r_c_chapman
2001-01-30 15:57     ` Tucker Taft
2001-01-30 18:26       ` Robert Dewar
2001-01-30 21:30         ` Simon Wright
2001-02-01  6:11           ` Robert Dewar
2001-02-06  0:32         ` Richard Kenner
2001-02-06  3:15           ` Robert Dewar
2001-01-31 10:09       ` Rod Chapman
2001-01-31 21:41         ` Tucker Taft
2001-02-01  5:33           ` Robert Dewar
2001-02-01  9:42           ` Rod Chapman
2001-02-01 18:10             ` Robert Dewar
2001-02-01 13:14           ` SPARK flow analysis (was Help with Atomic_Components and whole array assignment) Stuart Palin
2001-02-01 23:38           ` Help with Atomic_Components and whole array assignment Nick Roberts
2001-02-02  3:45             ` Robert Dewar [this message]
2001-02-07 21:40           ` Nick Williams
replies disabled

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