comp.lang.ada
 help / color / mirror / Atom feed
From: ka@socrates.hr.att.com (Kenneth Almquist)
Subject: Re: Why no exception hierarchy ?
Date: 1995/03/31
Date: 1995-03-31T00:00:00+00:00	[thread overview]
Message-ID: <D6A8u7.Dpv@nntpa.cb.att.com> (raw)
In-Reply-To: 1995Mar28.115614.9511@eisner

> In article <D645uH.Dqr@nntpa.cb.att.com>, ka@socrates.hr.att.com (Kenneth Almquist) writes:
>> kilgallen@eisner.decus.org (Larry Kilgallen, LJK Software) writes:
>>> For an address representation clause, which might be used to access hardware,
>>> optimizing out dead assignments seems quite inappropriate.  Is there no
>>> Ada83 method of avoiding such an optimization for such objects?
>> 
>> Pragma Atomic will suppress these optimizations.

My mistake; I meant pragma Shared.  Pragma Atomic is that Ada 95
replacement for pragma Shared.

Pragma Shared might not do what you want on some implementations
because the the description refers to actions of other tasks.  The
intended implementation of pragma Shared is the same as that of
pragma Atomic, but a smart compiler might use its knowledge of the
other tasks and the way the run time scheduler works to perform
optimizations that would be prohibited by pragma Atomic.
				Kenneth Almquist




  parent reply	other threads:[~1995-03-31  0:00 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-23 23:10 Why no exception hierarchy ? Mogens Jensen
1995-03-24 11:19 ` Michel Gauthier
1995-03-24 21:52   ` Tucker Taft
1995-03-25  1:50   ` Kenneth Almquist
1995-03-25 12:40     ` David Weller
1995-03-27  5:47       ` Kenneth Almquist
1995-03-25 16:03     ` Larry Kilgallen, LJK Software
1995-03-27 19:23   ` Kenneth Almquist
1995-03-28 16:56     ` Larry Kilgallen, LJK Software
1995-03-29  0:00       ` Kevin F. Quinn
1995-03-30  0:00         ` Kevin F. Quinn
1995-03-31  0:00       ` Kenneth Almquist [this message]
1995-04-04  0:00       ` Robert Dewar
1995-04-05  0:00         ` Michael Feldman
1995-04-05  0:00         ` Jean D. Ichbiah
1995-04-05  0:00           ` Robert A Duff
1995-04-05  0:00             ` Jean D. Ichbiah
1995-04-07  0:00               ` Robert Dewar
1995-04-05  0:00           ` Garlington KE
1995-04-06  0:00             ` Versions of Ada (was Why no exception hierarchy ?) Larry Kilgallen
1995-04-07  0:00               ` Robert Dewar
1995-04-07  0:00               ` Garlington KE
1995-04-06  0:00           ` Why no exception hierarchy ? Robert Dewar
1995-04-07  0:00             ` Garlington KE
1995-04-07  0:00             ` Jean D. Ichbiah
1995-04-07  0:00               ` Robert Dewar
1995-04-07  0:00             ` Norman H. Cohen
1995-04-06  0:00           ` Robert Dewar
1995-04-07  0:00             ` Jean D. Ichbiah
1995-04-06  0:00           ` Robert Dewar
1995-04-07  0:00             ` Jean D. Ichbiah
1995-04-07  0:00               ` Robert Dewar
     [not found]         ` <1995Apr4.210804.9579@eisner.decus.org>
1995-04-05  0:00           ` Ada means what version by default ? Michael Feldman
1995-04-06  0:00             ` Larry Kilgallen
1995-04-07  0:00               ` Robert Dewar
1995-04-07  0:00               ` Jean D. Ichbiah
1995-04-05  0:00           ` Kevin F. Quinn
1995-04-07  0:00             ` Robert Dewar
1995-04-05  0:00         ` Is "Ada" 95 or 83? (was: Re: Why no exception hierarchy ?) Theodore Dennison
1995-04-07  0:00           ` Robert Dewar
1995-04-07  0:00       ` Ada means what version by default ? Robert I. Eachus
1995-03-25 18:13 ` Why no exception hierarchy ? Robert Dewar
1995-03-28 18:15   ` Jean D. Ichbiah
1995-03-31  0:00   ` Mats Weber
1995-04-04  0:00     ` Robert Dewar
1995-04-06  0:00       ` Mats Weber
1995-04-07  0:00         ` Kenneth Almquist
replies disabled

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