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 17:38:53 +0200
Date: 2006-05-31T17:38:53+02:00	[thread overview]
Message-ID: <fadk5e.g5b.ln@hunter.axlog.fr> (raw)
In-Reply-To: <pan.2006.05.31.14.30.46.94577@linuxchip.demon.co.uk.uk.uk>

Dr. Adrian Wrigley a �crit :
> The package makes a "register" RCI call when it is being
> elaborated.  This works fine (it's what I expected).
> Doesn't that mean that I should be able to "unregister" it
> when finalizing?

Normally, yes. If I understand correctly, your package declares a 
finalizable object just to support the Initialize and Finalize 
procedures. If that is correct, make sure that:
1) the registration is from the Initialize (to ensure symmetry)
2) your finalizable object is derived from Limited_Controlled, not from 
Controlled. This will prevent the compiler from doing nasty optimizations.

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



  reply	other threads:[~2006-05-31 15:38 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
2006-05-31 14:38             ` Dr. Adrian Wrigley
2006-05-31 15:38               ` Jean-Pierre Rosen [this message]
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