comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic, 407.796.8997, M/S 731-93" <condicma@PWFL.COM>
Subject: Re: ADA task
Date: 1996/09/17
Date: 1996-09-17T00:00:00+00:00	[thread overview]
Message-ID: <96091716303787@psavax.pwfl.com> (raw)


"Norman H. Cohen" <ncohen@WATSON.IBM.COM> writes:
>The "delay until" statement is a new feature in Ada 95.  In Ada 83 you
>would write
>
>   delay Next_Wakeup - Calendar.Clock;
>
>which delays for the specified amount of time (in this case, the time
>from now until Next_Wakeup).
>
    Out of curiosity & ignorance, is there anything in the LRM which
    guarantees some minimal latency or predictability with the "delay
    until" statement? I recall one of the big criticisms of Ada83 was
    that the "delay" statement (and other language semantics) made it
    very difficult, if not impossible, to write a task which could
    schedule itself in a predictable manner. (That is, if one wanted
    to fire off a task every 20 milliseconds, one would like to know
    that any fraction of scheduling error is detected and corrected in
    the next pass to the limit of the accuracy of the clock and that,
    if at all possible, you get no "jitter" in the interval between
    cycles.)

    MDC

Marin David Condic, Senior Computer Engineer    ATT:        561.796.8997
M/S 731-96                                      Technet:    796.8997
Pratt & Whitney, GESP                           Fax:        561.796.4669
P.O. Box 109600                                 Internet:   CONDICMA@PWFL.COM
West Palm Beach, FL 33410-9600                  Internet:   CONDIC@FLINET.COM
===============================================================================
   "Don't say yes until I finish talking."

        -- Darryl F. Zanuck
===============================================================================




             reply	other threads:[~1996-09-17  0:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-17  0:00 Marin David Condic, 407.796.8997, M/S 731-93 [this message]
1996-09-19  0:00 ` ADA task Norman H. Cohen
1996-09-20  0:00   ` Robert A Duff
  -- strict thread matches above, loose matches on Subject: below --
1996-09-18  0:00 tmoran
1996-09-17  0:00 Marin David Condic, 407.796.8997, M/S 731-93
1996-09-20  0:00 ` Robert A Duff
1996-09-11  0:00 Roumen Roupski
1996-09-12  0:00 ` Philip Brashear
1996-09-13  0:00 ` Norman H. Cohen
1996-09-13  0:00   ` Samuel T. Harris
1996-09-14  0:00     ` Robert Dewar
1996-09-14  0:00       ` Samuel T. Harris
1996-09-15  0:00         ` David C. Hoos, Sr.
1996-09-16  0:00           ` Samuel T. Harris
1996-09-16  0:00     ` Norman H. Cohen
1996-09-14  0:00   ` Roumen Roupski
1996-09-16  0:00     ` Norman H. Cohen
1996-09-14  0:00   ` Ken Garlington
1996-09-16  0:00   ` Robert I. Eachus
replies disabled

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