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.9 required=5.0 tests=BAYES_00 autolearn=ham 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 23:57:25 PST Date: Mon, 31 Mar 2003 09:57:08 +0200 From: =?ISO-8859-1?Q?Rodrigo_Garc=EDa?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: tasking with GNAT 3.14p on windows References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: lglpc31.epfl.ch Message-ID: <3e87f4e2$1@epflnews.epfl.ch> X-Trace: epflnews.epfl.ch 1049097442 128.178.76.8 (31 Mar 2003 09:57:22 +0200) Organization: EPFL Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed.stueberl.de!news.imp.ch!news.imp.ch!news-zh.switch.ch!epflnews.epfl.ch!not-for-mail Xref: archiver1.google.com comp.lang.ada:35819 Date: 2003-03-31T09:57:08+02:00 List-Id: Bernd Specht wrote: > 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 computation is not aborted (what I would expect). Do I misunderstand > something? This example works as expected on my Red Hat 7.3 with GNAT 3.15p. I will try to run it on Windows 2000 to see if that is the problem. That would be strange anyway, since GNAT relies on pthreads for implementing its run-time. Is there a problem with pthreads implementation on Windows? Rodrigo