comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christoph.grein@eurocopter.com>
Subject: Re: Wikibook on Ada Programming - Object Orientation
Date: Thu, 8 Jul 2010 11:09:51 -0700 (PDT)
Date: 2010-07-08T11:09:51-07:00	[thread overview]
Message-ID: <ba23f46d-28f9-4461-807c-5a0dc8b18e1c@z8g2000yqz.googlegroups.com> (raw)
In-Reply-To: 2dcc40df-72f1-443c-9afd-4415af4e63b9@k39g2000yqb.googlegroups.com

On 8 Jul., 18:07, Ludovic Brenta <ludo...@ludovic-brenta.org> wrote:
> On Jul 8, 11:34 am, AdaMagica <christoph.gr...@eurocopter.com> wrote:
>
> I wrote a test case and confirm this; there is indeed a problem.
>
> > For a detailed discussion of the problems involved, see my paper in
> > Ada Letters, Volume XIX, Number 4, December 1999, which you can also
> > find here:
>
> >http://www.christ-usch-grein.homepage.t-online.de/Ada/Finalization.html
>
> I'm not sure your solution works in all cases because it uses only one
> "slot" per task, per tagged type, to store the access value to the
> enclosing object. My gut feeling is that this makes assumptions as to
> the ordering of calls to Adjust and Finalize that may not be always
> correct in the presence of multiple objects of the same type.

But this is the essence of the paper - it *can only work for limited
types* just because of all this. There is no such solution with mixins
for non-limited!



      parent reply	other threads:[~2010-07-08 18:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-08  9:34 Wikibook on Ada Programming - Object Orientation AdaMagica
2010-07-08 16:07 ` Ludovic Brenta
2010-07-08 17:14   ` Simon Wright
2010-07-08 18:09   ` AdaMagica [this message]
replies disabled

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