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,LOTS_OF_MONEY 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 11:41:44 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: stupid question: how can I finish a program? Date: 15 Aug 2002 11:41:44 -0700 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0208151041.4adf707e@posting.google.com> References: <5ee5b646.0208141747.1f108e20@posting.google.com> NNTP-Posting-Host: 205.232.38.14 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1029436904 10367 127.0.0.1 (15 Aug 2002 18:41:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 15 Aug 2002 18:41:44 GMT Xref: archiver1.google.com comp.lang.ada:28070 Date: 2002-08-15T18:41:44+00:00 List-Id: tmoran@acm.org wrote in message news:... > But it doesn't accomplish the "murder the kids, then > yourself" multi-task suicide. Of course it does (read the RM!) > What are the important differences between the > environment task aborting itself vs having it execute: > declare > Emergency_Exit : exception; > begin > raise Emergency_Exit; > end; Obvious difference: only the environment task can usefully do the latter, whereas anyone can abort the environment task (i.e. any task).