comp.lang.ada
 help / color / mirror / Atom feed
From: stt@inmet
Subject: Re: Ada timing
Date: 20 Oct 89 20:18:00 GMT	[thread overview]
Message-ID: <20600011@inmet> (raw)
In-Reply-To: 679@sce.carleton.ca



It is not currently well defined in Ada exactly
when the delay starts for a timed entry call, though
I suspect a goal of Ada9X is to define this well.
The place where this becomes interesting is obviously
in a physically distributed system.  

Personally, I have always favored the interpretation where
the delay starts when the call "arrives" at the acceptor,
since this makes the conditional entry call equivalent
to a timed entry call with a delay of 0.  
The delay is therefore interpreted as
a limit on the queue waiting time, rather than on
any aspect of the communication overhead of the entry call.

Of course, there are situations where the other interpretation
(where the communication delay contributes to the expiration
of the delay) is more useful, but since it is so hard
to define well in the absence of "global time,"
and to implement efficiently and faithfully, and
since it means that a conditional entry is *not* the same
as a timed entry with delay of zero, I don't think it
is the right answer.

S. Tucker Taft   stt%inmet@uunet.uu.net   uunet!inmet!stt
Intermetrics, Inc.
Cambridge, MA  02138

      reply	other threads:[~1989-10-20 20:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1989-10-19  0:05 Ada timing Jeff Wilson
1989-10-20 20:18 ` stt [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