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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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-28 01:34:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed1.bredband.com!bredband!uio.no!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!b9a08.pppool.DE!not-for-mail From: Dmitry A.Kazakov Newsgroups: comp.lang.ada Subject: Re: stupid question: how can I finish a program? Date: Wed, 28 Aug 2002 22:40:55 +0200 Message-ID: References: <5ee5b646.0208241822.34540e8b@posting.google.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: b9a08.pppool.de (213.7.154.8) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: fu-berlin.de 1030523643 53054743 213.7.154.8 (16 [77047]) User-Agent: KNode/0.4 Xref: archiver1.google.com comp.lang.ada:28478 Date: 2002-08-28T22:40:55+02:00 List-Id: Robert A Duff wrote: > No, that doesn't do it. I believe the original poster wants to kill the > program (really, the "partition", in Ada terms, or the "process", in OS > terms), even if some tasks are in an abort-deferred state. Furthermore, > the desire is to skip finalization. Aborting the env task doesn't do > that. > > So I think it's true that Ada has no portable way of doing what was > desired. Furthermore, I think it's a reasonable desire, in some rare > cases. For example? Abort without any defined clean-up warranties absolutely nothing. Otherwise, some sort of "finalization" should be defined. For instance: known tasks killed, known memory returned. But (1) any sort of finalization could still hang up. (2) How to define it in a portable way (= in language terms)? -- Regards, Dmitry Kazakov www.dmitry-kazakov.de