comp.lang.ada
 help / color / mirror / Atom feed
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: ADA task
Date: 1996/09/20
Date: 1996-09-20T00:00:00+00:00	[thread overview]
Message-ID: <Dy0AoA.2B1@world.std.com> (raw)
In-Reply-To: 96091716583421@psavax.pwfl.com


In article <96091716583421@psavax.pwfl.com>,
Marin David Condic, 407.796.8997, M/S 731-93 <condicma@PWFL.COM> wrote:
>    I borrowed & modified this example from the Ada83 LRM (Section
>    9.6) and added a temporary variable to illustrate a point: The
>    computation of "Next - Calendar.Clock" is not "atomic". 

Right.  That's exactly why "delay until" was added.  There's still a
finite, non-zero, amount of time involved in waking up a delay-ed task,
but this particular race condition is fixed.

- Bob




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

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-17  0:00 ADA task Marin David Condic, 407.796.8997, M/S 731-93
1996-09-20  0:00 ` Robert A Duff [this message]
  -- 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-19  0:00 ` Norman H. Cohen
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   ` Ken Garlington
1996-09-14  0:00   ` Roumen Roupski
1996-09-16  0:00     ` Norman H. Cohen
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