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,8893269a4640c798 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-26 06:21:30 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail From: Marin David Condic Newsgroups: comp.lang.ada Subject: Re: terminate applications Date: Sat, 26 Jul 2003 09:21:21 -0400 Organization: MindSpring Enterprises Message-ID: <3F228051.1000105@noplace.com> References: NNTP-Posting-Host: d1.56.b2.22 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Server-Date: 26 Jul 2003 13:21:30 GMT User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (OEM-HPQ-PRS1C03) X-Accept-Language: en-us, en Xref: archiver1.google.com comp.lang.ada:40832 Date: 2003-07-26T13:21:30+00:00 List-Id: O.K. I'm probably smart enough to generate my own package to do it. I could probably generate my own binding to the C routines necessary to make it happen. My concern is that it ought to be done in a way that is *standard* across compilers and platforms - to the extent that is possible. Having it in some conventional library that is supplied by most vendors would solve that problem. MDC tmoran@acm.org wrote: >>To solve MDC's problem, and all that is needed is a sufficiently rounded >>GPLed Halt package, that applies to popular platforms. > > May I offer: > procedure Suicide; > -- Implementation defined action. Generally, calls the OS requesting > -- immediate termination of the partition, usually without any cleanup > -- or finalization. On many OSes, this may need to be followed by > -- a manual reboot. Using a vendor supplied Halt, or aborting the > -- environment task, will usually acomplish more graceful termination. > The body of Suicide needs to be written specificaly for each OS. -- ====================================================================== Marin David Condic I work for: http://www.belcan.com/ My project is: http://www.jast.mil/ Send Replies To: m c o n d i c @ a c m . o r g "In general the art of government consists in taking as much money as possible from one class of citizens to give to the other." -- Voltaire ======================================================================