comp.lang.ada
 help / color / mirror / Atom feed
From: christoph.grein@eurocopter.com
Subject: Re: Finalization of static package variables
Date: 21 May 2007 21:41:36 -0700
Date: 2007-05-21T21:41:36-07:00	[thread overview]
Message-ID: <1179808896.415796.143670@q66g2000hsg.googlegroups.com> (raw)
In-Reply-To: <f2fkrt$s8j$1@jacob-sparre.dk>

On 16 Mai, 21:10, "Randy Brukardt" <r...@rrsoftware.com> wrote:
> No, because your proposed "fix" is more complex than the trick, which is
> simply to use Ada.Task_Identification:
>
> -- In a librarypackage:
> with Ada.Task_Identification; use Ada.Task_Identification;
>
> Env_Task_Id : constant Task_Id := Current_Task;
>
> Now, in any task that you want to take special action if the main subprogram
> has exited:
>
>      if Is_Completed (Env_Task_Id) then

There is no such function as is_Completed. Which do you mean:
   is_Terminated
or
   not is_Callable?




  reply	other threads:[~2007-05-22  4:41 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-08 21:55 Finalization of static package variables Manuel Collado
2007-05-09  8:13 ` Alex R. Mosteo
2007-05-09  8:20 ` Stephen Leake
2007-05-09 15:15   ` Adam Beneschan
2007-05-09 16:01     ` Markus E Leypold
2007-05-09 22:00     ` Manuel Collado
2007-05-09 23:27       ` Adam Beneschan
2007-05-10  4:52         ` Jeffrey R. Carter
2007-05-16  0:41           ` Randy Brukardt
2007-05-10  8:16         ` Alex R. Mosteo
2007-05-16  0:36         ` Randy Brukardt
2007-05-16 14:06           ` Adam Beneschan
2007-05-16 16:47             ` Jeffrey R. Carter
2007-05-16 19:10             ` Randy Brukardt
2007-05-22  4:41               ` christoph.grein [this message]
2007-05-22  6:25                 ` tmoran
2007-05-22 22:19                   ` Randy Brukardt
2007-05-10 10:57       ` Stephen Leake
2007-05-09 22:19   ` Manuel Collado
2007-05-10  5:38     ` AW: " Grein, Christoph (Fa. ESG)
2007-05-10 10:55     ` Stephen Leake
2007-05-11 18:12       ` Manuel Collado
2007-05-11 18:26         ` Robert A Duff
2007-05-12 19:17           ` Finalization of static package variables - summary Manuel Collado
2007-05-16  0:49             ` Randy Brukardt
replies disabled

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