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-22 22:43:57 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!213.73.101.75!eusc.inter.net!psinet-eu-nl!psiuk-p4!uknet!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, 22 Jul 2002 08:53:36 -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 1027342423 13319 136.170.200.133 (22 Jul 2002 12:53:43 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 22 Jul 2002 12:53:43 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:27324 Date: 2002-07-22T12:53:43+00:00 List-Id: Yeah, in this particular instance, it really is just a matter of killing the whole process and not worrying about finalization or the state of anything. The OS should be able to clean up anything that matters and I just want the program to stop. Obviously, this sort of thing could be very dangerous in the wrong setting because you do avoid finalization and there might be cases where things would be left in an unknown state. (Files not being properly updated, for example.) But its not an uncommon need even in embedded computers. Sometimes you might find yourself in some sort of corrupt state and the easiest answer is to double-stroke the watchdog timer and force the computer into a reset that re-initializes the whole thing. It would be nice if Ada provided a standard way of accomplishing this. 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:wcc8z46pbcl.fsf@shell01.TheWorld.com... > > But note that with such a feature, whatever finalization actions you > wrote will be skipped. (If they aren't skipped, then the feature > doesn't do what you said above, because finalization might loop.) > If you're running on a real operating system, it might be perfectly OK > to skip finalization, since the OS has to clean up anyway. >