comp.lang.ada
 help / color / mirror / Atom feed
From: eachus@spectre.mitre.org (Robert I. Eachus)
Subject: Re: ADA-9x done? Any good PC compilers?
Date: 19 Jan 1995 19:08:47 GMT
Date: 1995-01-19T19:08:47+00:00	[thread overview]
Message-ID: <EACHUS.95Jan19140847@spectre.mitre.org> (raw)
In-Reply-To: dewar@cs.nyu.edu's message of 18 Jan 1995 18:17:58 -0500


In article <3fk7j7$ld5@gnat.cs.nyu.edu> dewar@cs.nyu.edu (Robert Dewar) writes:

 > I was talking about when a delay expires, this has nothing to do with the
 > required preemption by a higher priority task!
 > (responding to Eachus' note on my note about infinite delays)

    RM83 9.6(1): The execution of a delay statement evaluates the
simple expression, and suspends further execution...for at least the
duration specified by the resulting value.

    RM83 9.8(4): If two tasks with different priorities are both
eligible for execution...then it cannot be the case that the task with
the lower priority is executing while the task with the higher
priority is not.

    The first creates a requirement that the delay must be at least
that specified in the expression, the second paragraph adds a
requirement which, on a single processor system, simplifies to: "The
highest priority eligible task must be executing, in case of ties, the
selection among the tied set is implemetation dependent."  Paragraph
9.6(1) does not conflict with or supercede 9.8(4).  They work
together.  Paragraph 9.6(1) declares certain tasks ineligible until
the delay expires, 9.8(4) specifies requirements with respect to
eligible tasks.

    I think you (Robert) perfectly well understand that the only
freedom granted by 9.6 with respect to 9.8 is that the clock for
interrupts need not be maintained to DURATION'SMALL resolution. The
resolution is found instead in SYSTEM.TICK.  If you want to validate a
system where SYSTEM.TICK = DURATION'LAST, fine.  But that still won't
allow infinite prolongation of delays.

--

					Robert I. Eachus

with Standard_Disclaimer;
use  Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...



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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1995Jan11.154250@clstac>
1995-01-12 22:14 ` ADA-9x done? Any good PC compilers? Robert Dewar
1995-01-13 14:02   ` Howard.Gilbert
     [not found]     ` <3f9m5u$rc8@gnat.cs.nyu.edu>
     [not found]       ` <EACHUS.95Jan17120531@spectre.mitre.org>
1995-01-18 23:17         ` Robert Dewar
1995-01-19 19:08           ` Robert I. Eachus [this message]
1995-01-21  5:31             ` Robert Dewar
replies disabled

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