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=-1.8 required=5.0 tests=BAYES_00,URI_HEX 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 14:14:14 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!69103-cm.able.ES!not-for-mail From: Jano Newsgroups: comp.lang.ada Subject: Re: tasking with GNAT 3.14p on windows Date: Mon, 31 Mar 2003 00:14:45 +0200 Message-ID: References: <6jIha.35142$ja4.2255611@bgtnsc05-news.ops.worldnet.att.net> NNTP-Posting-Host: 69103-cm.able.es (212.97.169.103) X-Trace: fu-berlin.de 1049062452 2616887 212.97.169.103 (16 [49872]) X-Newsreader: MicroPlanet Gravity v2.50 Xref: archiver1.google.com comp.lang.ada:35813 Date: 2003-03-31T00:14:45+02:00 List-Id: 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. > All this said, the GNAT on windows operating systems does not > properly support asynchronous transfer of control. It's somewhere documented the Gnat limitations on windows and their consequences? The ATC is hinted to not work correctly even with polling enabled, but some others are absent I think from documentation. -- ------------------------- Jano 402450.at.cepsz.unizar.es -------------------------