comp.lang.ada
 help / color / mirror / Atom feed
From: kst@aonix.com (Keith Thompson)
Subject: Re: is there a 'wait' command in Ada
Date: 1996/12/04
Date: 1996-12-04T00:00:00+00:00	[thread overview]
Message-ID: <E1wwxA.2yn@thomsoft.com> (raw)
In-Reply-To: m2bucby5qx.fsf@metronet.com


In <m2bucby5qx.fsf@metronet.com> Corey Minyard <minyard@metronet.com> writes:
[...]
> IMHO, the GNAT compiler should only require threads if using tasks.
> Since delay is not implicitly an operation requiring threads, it
> shouldn't require them.

But delay statements do affect task scheduling, and there's no way
to determine, when a delay statement is compiled, whether it will be
executed by a program with multiple tasks.

Making delay statements behave differently depending on whether the
program has multiple tasks is an interesting and doable optimization,
but it's not necessarily a trivial one.

-- 
Keith Thompson (The_Other_Keith) kst@aonix.com <http://www.aonix.com> <*>
TeleSo^H^H^H^H^H^H Alsy^H^H^H^H Thomson Softw^H^H^H^H^H^H^H^H^H^H^H^H^H Aonix
10251 Vista Sorrento Parkway, Suite 300, San Diego, CA, USA, 92121-2706
"SPOON!" -- The Tick




  reply	other threads:[~1996-12-04  0:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-29  0:00 is there a 'wait' command in Ada ***** LOTUS *****
1996-11-29  0:00 ` Robert A Duff
1996-11-30  0:00 ` Michael Feldman
1996-11-30  0:00   ` Robert Dewar
1996-12-01  0:00     ` Michael Feldman
1996-12-01  0:00       ` Robert Dewar
1996-12-02  0:00         ` Larry Kilgallen
1996-12-02  0:00         ` Michael Feldman
1996-12-02  0:00       ` David C. Hoos, Sr.
1996-12-09  0:00         ` Fergus Henderson
1996-12-02  0:00 ` Corey Minyard
1996-12-03  0:00   ` Robert A Duff
1996-12-03  0:00   ` Michael Feldman
1996-12-03  0:00   ` Larry Kilgallen
1996-12-03  0:00     ` Michael Feldman
1996-12-04  0:00       ` Larry Kilgallen
1996-12-03  0:00 ` Corey Minyard
1996-12-04  0:00   ` Keith Thompson [this message]
1996-12-04  0:00   ` Robert Dewar
1996-12-10  0:00 ` Robert I. Eachus
  -- strict thread matches above, loose matches on Subject: below --
1996-11-29  0:00 tmoran
replies disabled

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