comp.lang.ada
 help / color / mirror / Atom feed
From: stt@ada-uts
Subject: Re: a tasking question for you
Date: Tue, 14-Jul-87 13:45:00 EDT	[thread overview]
Date: Tue Jul 14 13:45:00 1987
Message-ID: <57900037@ada-uts> (raw)
In-Reply-To: 13@<12317696882


Although I agree it is not specific here, it would not
be meaningful for a rendezvous to continue after
the caller receives TASKING_ERROR and begins to process it.
A rendezvous by definition occupies the full attentions
of both tasks.  To be clear, it should probably say
that TASKING_ERROR is raised no sooner than the completion
of the rendezvous, and no later than the abnormal completion
of the aborted task.

As far as 9.10:8 -- Imagine a variable which is a large record
being updated by record assignment.  If a task is aborted
and becomes completed in the middle of the assignment,
then the value of the variable may be unmeaningful, with
the record only partially updated, and perhaps even a single
component only partially updated.  In this sense,
the value is formally "undefined," which means that it is erroneous
to use or rely on the value.  Similar wording appears
in 3.2.1:17/18, where it states that "The execution of
a program is erroneous if it attempts to evaluate a scalar
variable with an undefined value.  Similarly, the execution
of a program is erroneous if it attempts to apply a predefined
operator to a variable that has a scalar subcomponent with an
undefined value."

S. Tucker Taft
c/o Intermetrics, Inc.
Cambridge, MA  02138

       reply	other threads:[~1987-07-14 17:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <13@<12317696882>
1987-07-14 17:45 ` stt [this message]
1987-07-13 21:15 a tasking question for you Keith Shillington @prodigal
  -- strict thread matches above, loose matches on Subject: below --
1987-07-12  6:49 Doug Bryan
replies disabled

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