comp.lang.ada
 help / color / mirror / Atom feed
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Adjust, Finalize
Date: Thu, 19 Jan 1995 23:14:48 GMT
Date: 1995-01-19T23:14:48+00:00	[thread overview]
Message-ID: <D2oDwo.7Dr@world.std.com> (raw)
In-Reply-To: leschkes.790467588@ferret

In article <leschkes.790467588@ferret>,
Scott Leschke <leschkes@ferret.cig.mot.com> wrote:
>Just as a check, are the procedures Adjust and Finalize implicitly protected
>against simultanious invocation by multiple tasks ?

No.  If you want that, you have to program it yourself using protected
types.

However, these operations *are* protected from abort.  (Actually, the
entire assignment is protected, and the Initialize and Finalize
operations are protected.)  This is true of any type that is controlled,
or has any controlled subcomponents.  It is not true of plain old types,
of course -- protected assignment of, say, integers from abort would be
too inefficient.

- Bob



      reply	other threads:[~1995-01-19 23:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-01-18 22:19 Adjust, Finalize Scott Leschke
1995-01-19 23:14 ` Robert A Duff [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