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,f6ee8ca03c176d76 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-15 00:38:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.mailgate.org!news-zh.switch.ch!news.imp.ch!news.imp.ch!psinet-eu-nl!psiuk-p4!uknet!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin D. Condic" Newsgroups: comp.lang.ada Subject: Re: stupid question: how can I finish a program? Date: Wed, 14 Aug 2002 09:53:22 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: References: NNTP-Posting-Host: dhcp-200-180.miami.pace.co.uk X-Trace: nh.pace.co.uk 1029333204 20514 136.170.200.180 (14 Aug 2002 13:53:24 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 14 Aug 2002 13:53:24 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.lang.ada:28050 Date: 2002-08-14T13:53:24+00:00 List-Id: This is a question that seems to come up fairly regularly: "Is there a standard way of forcing an Ada program to terminate?" Since the current answer is "No", but the question keeps coming up, it would seem like proper fodder for an Ada 0x. It shouldn't be hard to incorporate something into the language as either a standard procedure or even some kind of use of existing keywords. I can't imagine it being difficult to implement since most OS's that support processes have some facility for killing a process and on an embedded machine without an OS, it hardly matters what you do (infinite loop?). There might be issues if you wanted an *orderly* shutdown, but I don't see that being the place to use some flavor of a "terminate all;" statement. (How can the compiler decide what is "orderly" and how can it tell that in the process of being "orderly" the program doesn't run off to Flanders and never return? Better to leave that in the hands of the programmer.) MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling Digital. Our Vision is to be the biggest supplier worldwide of digital gateway technology. www.pacemicro.com "Robert C. Leif" wrote in message news:mailman.1029282843.28085.comp.lang.ada@ada.eu.org... > From: Bob Leif > To: Chris Dank et al. > Since it is quite common to terminate a commercial program after an > exception is raised, it would be quite useful if Ada 200? would include > a standard procedure for this. >