comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Interresting difference in Normal-Returns/Expression-Functions and Extended-Returns.
Date: Wed, 1 May 2013 21:28:38 -0500
Date: 2013-05-01T21:28:38-05:00	[thread overview]
Message-ID: <klsj0t$qn5$1@munin.nbi.dk> (raw)
In-Reply-To: f91ac67c-02c9-43fd-982c-a58567aa9a1b@googlegroups.com

"Adam Beneschan" <adam@irvine.com> wrote in message 
news:f91ac67c-02c9-43fd-982c-a58567aa9a1b@googlegroups.com...
...
>"If the task is created by the evaluation of an allocator for a given
>access type, it depends on each master that includes the elaboration
>of the declaration of the ultimate ancestor of the given access type."
>
>The language here may be a bit sloppy, since for an anonymous access
>type, I'm not sure there's any such thing as "the declaration of
>... [a] given access type".

Wow, I think we've missed this Adam for a while! I'm pretty sure there is 
wording somewhere that says that where an anonymous access type is declared, 
but I'm not going to look it up right now. We spent way too much time 
rewriting this wording for Ada 2012, so I'm pretty sure it is consistent 
(now - the Ada 2005 wording was garbage).

...
>The moral: Whether or not you think anonymous access types are evil,
>anonymous access types to *tasks* definitely can have some surprising
>consequences (because of the task termination and dependency rules),
>and should be avoided.

You should extend this to anything that gets finalized, because you get the 
same sorts of issues with them. And since *everything* ought to be 
controlled (IMHO), ergo you have to avoid all anonymous access types. QED. 
:-)

                               Randy.


  parent reply	other threads:[~2013-05-02  2:28 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-22 18:27 Interresting difference in Normal-Returns/Expression-Functions and Extended-Returns Shark8
2013-04-22 19:13 ` Dmitry A. Kazakov
2013-04-22 20:11   ` Shark8
2013-04-23  6:15     ` Simon Wright
2013-04-23  7:35     ` Stephen Leake
2013-04-23  8:58     ` Dmitry A. Kazakov
2013-05-02  2:20     ` Randy Brukardt
2013-05-02  4:41       ` Shark8
2013-04-23  6:32 ` egilhh
2013-04-23 15:24   ` Adam Beneschan
2013-04-24  5:56     ` egilhh
2013-04-24 14:40       ` Adam Beneschan
2013-04-25  5:30         ` egilhh
2013-04-25  5:41           ` Shark8
2013-04-23 16:00 ` Adam Beneschan
2013-04-23 16:52   ` Simon Wright
2013-04-23 17:57     ` Adam Beneschan
2013-04-25  8:48       ` egilhh
2013-04-25 15:19         ` Adam Beneschan
2013-05-02  2:33         ` Randy Brukardt
2013-05-02  2:38       ` Randy Brukardt
2013-05-02 16:15         ` Adam Beneschan
2013-05-02 22:00           ` Randy Brukardt
2013-05-03  1:11         ` Adam Beneschan
2013-05-03  5:34           ` Simon Wright
2013-05-03  6:43           ` egilhh
2013-05-03 16:49             ` Adam Beneschan
2013-05-03 23:09           ` Randy Brukardt
2013-04-23 23:00     ` Shark8
2013-04-23 23:16       ` Adam Beneschan
2013-05-02  2:28   ` Randy Brukardt [this message]
2013-05-02 16:37     ` Adam Beneschan
2013-04-23 16:33 ` 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