comp.lang.ada
 help / color / mirror / Atom feed
From: Buz Cory <hacker@buzco.ddns.org>
Subject: Re: delay until and GNAT
Date: 1999/05/06
Date: 1999-05-06T00:00:00+00:00	[thread overview]
Message-ID: <7grkbb$cee$1@nnrp1.deja.com> (raw)
In-Reply-To: 7gpukr$s82$1@nnrp1.dejanews.com

In article <7gpukr$s82$1@nnrp1.dejanews.com>,
  dennison@telepath.com wrote:
> In article <m3_X2.48$6o.1372369@news.siol.net>,
>   "isaac buchwald" <isaac.buchwald@velenje.cx> wrote:
> >
> >   Does  someone  know  the   upper bound  on the lateness of  delay  until
> > and delay relative
> >  for  Gnat  implement.  on  Win95 , WinNT   or  Linux.
>
> I'm not sure there *is* an upper bound. What if a higher priority task is
> running in a busy loop?

That should be correct. There is no guarantee of *maximum* delay between *any*
two statements in Ada.

In particular, for "delay" and "delay until", the only guarantee is that the
delay will have elapsed when the next statement executes. How long ago it
might have elapsed is *not* guaranteed. This is pretty much true of any
prioritized multi-tasking system. For a time-slicing system, you might
reasonably expect that the "upper bound  on the lateness of  delay" will be
some relatively small number times the maximum size of a slice (for 10 ms
slices, it should be of the order of 1 sec or so).

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  reply	other threads:[~1999-05-06  0:00 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-05  0:00 delay until and GNAT isaac buchwald
1999-05-05  0:00 ` dennison
1999-05-06  0:00   ` Buz Cory [this message]
1999-05-06  0:00     ` Robert Dewar
1999-05-06  0:00       ` delay until and GNAT - expand isaac buchwald
1999-05-07  0:00         ` Roger Racine
1999-05-08  0:00           ` dewar
1999-05-10  0:00             ` Roger Racine
1999-05-11  0:00               ` Robert Dewar
1999-05-11  0:00                 ` dennison
1999-05-11  0:00                   ` Robert Dewar
1999-05-12  0:00                 ` delay until and GNAT - where to get the info isaac buchwald
1999-05-12  0:00                   ` Robert Dewar
1999-05-10  0:00             ` delay until and GNAT - expand Roger Racine
1999-05-10  0:00               ` Joel Sherrill
1999-05-11  0:00               ` Robert Dewar
1999-05-11  0:00                 ` dennison
1999-05-11  0:00               ` isaac buchwald
1999-05-11  0:00                 ` dennison
1999-05-12  0:00                 ` Robert Dewar
1999-05-10  0:00             ` Context switching (was: delay until and GNAT) Nick Roberts
1999-05-11  0:00               ` Robert Dewar
1999-05-11  0:00                 ` Tarjei Tj�stheim Jensen
1999-05-11  0:00                   ` David Brown
1999-05-11  0:00                   ` Robert Dewar
1999-05-11  0:00               ` Robert Dewar
     [not found]             ` <rracine.14.00 <rracine.15.000968A0@draper.com>
1999-05-11  0:00               ` delay until and GNAT - expand Robert Dewar
1999-05-11  0:00             ` Roger Racine
1999-05-12  0:00             ` Roger Racine
     [not found]             ` <rracine.14.00 <rracine.17.0007DA28@draper.com>
1999-05-12  0:00               ` dennison
1999-05-05  0:00 ` delay until and GNAT David C. Hoos, Sr.
1999-05-06  0:00 ` Roger Racine
1999-05-10  0:00   ` Nick Roberts
1999-05-11  0:00     ` Context Switching Nick Roberts
1999-05-11  0:00       ` Robert Dewar
1999-05-11  0:00         ` Robert I. Eachus
1999-05-12  0:00           ` dennison
replies disabled

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