comp.lang.ada
 help / color / mirror / Atom feed
From: "James S. Rogers" <jimmaureenrogers@worldnet.att.net>
Subject: Re: tasking with GNAT 3.14p on windows
Date: Mon, 31 Mar 2003 02:53:42 GMT
Date: 2003-03-31T02:53:42+00:00	[thread overview]
Message-ID: <W4Oha.35749$ja4.2291095@bgtnsc05-news.ops.worldnet.att.net> (raw)
In-Reply-To: MPG.18f18ac32e4a300d9896c8@News.CIS.DFN.DE

"Jano" <nono@celes.unizar.es> wrote in message
news:MPG.18f18ac32e4a300d9896c8@News.CIS.DFN.DE...
> James S. Rogers dice...
> > "Bernd Specht" <Bernd.Specht@gmx.com> wrote in message
> > news:Xns934E8C5D49EFBerndSpechtgmxcom@62.153.159.134...
> > > Hi,
> > >
> > > I tried an example from "Barnes, 18.8", but it didn't work as
expected.
> > Any
> > > ideas?
> > >
> > > with Text_IO; use Text_IO;
> > >
> > > procedure TaskTest is
> > > begin
> > >   select
> > >     delay 3.0;
> > >     put_line ("aborted");
> > >   then abort
> > >     loop
> > >       null; -- modified
> > >     end loop;
> > >   end select;
> > > end TaskTest;
> > >
> (...)
> > The null command will reliably take less than 3.0 seconds to complete.
>
> It's inside of a neverending loop.

And optimization will remove the loop, leaving a single null statement.

Jim Rogers





  reply	other threads:[~2003-03-31  2:53 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-30 18:49 tasking with GNAT 3.14p on windows Bernd Specht
2003-03-30 20:19 ` James S. Rogers
2003-03-30 22:14   ` Jano
2003-03-31  2:53     ` James S. Rogers [this message]
2003-03-31  6:32       ` James S. Rogers
2003-03-31  6:56       ` Sergey Koshcheyev
2003-03-31  9:00         ` 
2003-03-31 19:09       ` Bernd Specht
2003-03-31 18:14     ` Chad R. Meiners
2003-03-31 21:08       ` Jano
2003-03-31  7:57 ` 
2003-03-31  9:30   ` Ole-Hjalmar Kristensen
2003-03-31 17:58     ` Jano
2003-03-31 18:30       ` Chad R. Meiners
2003-03-31 22:16         ` Jano
2003-03-31 23:09           ` Chad R. Meiners
2003-03-31 23:44           ` Chad R. Meiners
2003-04-01 12:17             ` Jano
2003-04-01  2:40         ` Robert A Duff
2003-04-01  4:17           ` Chad R. Meiners
2003-04-01  6:25             ` Jano
2003-04-01 15:33               ` Pascal Obry
2003-04-01  8:42           ` Dmitry A. Kazakov
2003-04-02 13:35             ` Alfred Hilscher
replies disabled

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