comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Ada.Task_Identification.Abort_Task (Environment_Task) ;
Date: Sat, 20 Jul 2002 17:18:02 GMT
Date: 2002-07-20T17:18:02+00:00	[thread overview]
Message-ID: <wcc8z46pbcl.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: ah928s$i1u$1@nh.pace.co.uk

"Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org> writes:

> Fair enough. I'm going to have to review the code in question when I get a
> chance to revisit it (back to being busy with "real" work...:-) They may be
> hanging on some abort-defer region as you suggest, but it would be simpler
> to have some kind of "Kill this process and I really, really mean it!"
> command.

Well, you can call "exit" via pragma Import.  I agree that it would be
nice to have such a feature as a standard part of the language.

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.

- Bob



  reply	other threads:[~2002-07-20 17:18 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-12 17:13 Ada.Task_Identification.Abort_Task (Environment_Task) ; Marin David Condic
2002-07-13 13:45 ` Simon Wright
2002-07-13 22:12   ` Robert Dewar
2002-07-13 14:12 ` Robert A Duff
2002-07-15 12:52   ` Marin David Condic
2002-07-15 23:31     ` tmoran
2002-07-18 21:32     ` Robert A Duff
2002-07-19 12:55       ` Marin David Condic
2002-07-20 17:18         ` Robert A Duff [this message]
2002-07-22 12:53           ` Marin David Condic
2002-07-23  6:08             ` tmoran
2002-07-23 13:02               ` Marin David Condic
2002-07-24  8:34                 ` Lutz Donnerhacke
2002-07-24 13:58                   ` Marin David Condic
2002-07-24  8:35                 ` Fabien Garcia
2002-07-24 23:20                 ` Dmitry A.Kazakov
2002-07-25  0:43                 ` Robert Dewar
2002-07-25  1:04                 ` tmoran
2002-07-16 20:43 ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox