comp.lang.ada
 help / color / mirror / Atom feed
From: Jean-Pierre Rosen <rosen@adalog.fr>
Subject: Re: Distributed Ada, robustness etc.
Date: Wed, 31 May 2006 15:21:45 +0200
Date: 2006-05-31T15:21:45+02:00	[thread overview]
Message-ID: <b95k5e.gc8.ln@hunter.axlog.fr> (raw)
In-Reply-To: <pan.2006.05.31.12.45.29.104165@linuxchip.demon.co.uk.uk.uk>

Dr. Adrian Wrigley a �crit :
> Unfortunately, the unregister call *always* fails.  I had
> implemented the call through the finalization of a Controlled
> type.  An instance of the type is in the package, and the
> Finalize procedure is called when the partition terminates.
> This call, however, seems to take place *after* the PCS for
> the partition is brought down, and so the unregister
> immediately fails.
> 
Note that finalization occurs in reverse order of elaboration. 
Therefore, this means that your package is elaborated *before* the PCS.

Maybe adding a (useless) "with system.rpc" to your package would suffice 
to have an appropriate elaboration, and therefore finalization, order

-- 
---------------------------------------------------------
            J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr



  reply	other threads:[~2006-05-31 13:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-23 12:14 Distributed Ada, robustness etc Dr. Adrian Wrigley
2006-05-25  1:12 ` Dr. Adrian Wrigley
2006-05-25 10:34   ` Dmitry A. Kazakov
2006-05-29  0:55   ` Dr. Adrian Wrigley
2006-05-30 15:11     ` Dr. Adrian Wrigley
2006-05-31  5:49       ` Ludovic Brenta
2006-05-31 12:40         ` Dr. Adrian Wrigley
2006-05-31 13:21           ` Jean-Pierre Rosen [this message]
2006-05-31 14:38             ` Dr. Adrian Wrigley
2006-05-31 15:38               ` Jean-Pierre Rosen
2006-06-02 10:27           ` Stephen Leake
replies disabled

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