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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ccebbc4b591481d2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-15 15:42:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer.siscom.net!btnet-peer0!btnet!psiuk-p2!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Ada.Task_Identification.Abort_Task (Environment_Task) ; Date: Mon, 15 Jul 2002 08:52:32 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: References: NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1026737553 25782 136.170.200.133 (15 Jul 2002 12:52:33 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 15 Jul 2002 12:52:33 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:27128 Date: 2002-07-15T12:52:33+00:00 List-Id: After some additional experimentation, it seems like maybe I've tripped across some kind of compiler bug or other unusual condition. I can move the abort to a different point in the code where I don't have a specific set of tasks running and it aborts just fine. After I get these tasks started, the abort has no effect. So whatever is going on, it probably isn't a case of my not getting the right stuff together in the build process. Is there any other way of shooting the whole process in the head? It might be easier to find an alternative than it is to try to sort out a rather complex set of tasks to create a sufficiently simple demonstration of the bug. (And there's no telling if it would be readily fixable, so maybe a workaround is good enough. The entire rest of the code works just fine and I'm just trying to terminate the program where some tasks may be hung waiting for data on sockets.) MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com "Robert A Duff" wrote in message news:wccznwvzpgl.fsf@shell01.TheWorld.com... > > I used the -gnatP switch to compile one program I wrote. I don't think > I had to do anything to get it to include the right parts of the > run-time system (other than giving the switch on the command line). > > And I *think* I used an abort to kill the whole program, > and it worked properly on Windows and Solaris and Linux. > (Not sure about that -- I could be misremembering.) > > I presume Environment_Task is what its name implies? > > Another way is to pragma-import "exit", and call that. > But be sure you understand whether that will do finalization, > and whether you want it to. > > - Bob