From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8ddc02527645a844 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-30 18:53:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!paloalto-snf1.gtei.net!mtvwca1-snh1.ops.genuity.net!chcgil2-snh1.gtei.net!news.gtei.net!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail Reply-To: "James S. Rogers" From: "James S. Rogers" Newsgroups: comp.lang.ada References: <6jIha.35142$ja4.2255611@bgtnsc05-news.ops.worldnet.att.net> Subject: Re: tasking with GNAT 3.14p on windows X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: Date: Mon, 31 Mar 2003 02:53:42 GMT NNTP-Posting-Host: 12.86.34.45 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1049079222 12.86.34.45 (Mon, 31 Mar 2003 02:53:42 GMT) NNTP-Posting-Date: Mon, 31 Mar 2003 02:53:42 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:35814 Date: 2003-03-31T02:53:42+00:00 List-Id: "Jano" wrote in message news:MPG.18f18ac32e4a300d9896c8@News.CIS.DFN.DE... > James S. Rogers dice... > > "Bernd Specht" 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