From: Adam Beneschan <adambeneschan@aol.com>
Subject: Re: Accessibility Levels and Library-Level Units
Date: Tue, 24 Sep 2013 13:32:17 -0700 (PDT)
Date: 2013-09-24T13:32:17-07:00 [thread overview]
Message-ID: <34fccd38-8125-44c0-9c56-4a30b6359616@googlegroups.com> (raw)
In-Reply-To: <l1sr4v$eo$1@dont-email.me>
On Tuesday, September 24, 2013 1:02:39 PM UTC-7, J-P. Rosen wrote:
> Le 24/09/2013 21:27, Adam Beneschan a �crit :
>
> > Even if the compiler knew Accessibility_Level_Test were the main
> > subprogram, nothing would prevent some other subprogram from calling
> > it (recursively).
>
> Even without calling it recursively, exiting the main program is /not/
> the end of the execution of an Ada Program. Tasks declared in library
> packages continue to run, there are even programs where the main
> procedure is begin-null;-end, all the work being done in library tasks.
>
> And of course, such tasks could use the pointer after the main
> subprogram is exited.
>
> Library level finalizable objects can also execute code after the main
> procedure is exited.
Yes, I'd forgotten about all those cases. Thanks for pointing it out.
-- Adam
next prev parent reply other threads:[~2013-09-24 20:32 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-24 18:36 Accessibility Levels and Library-Level Units Eryndlia Mavourneen
2013-09-24 18:54 ` Eryndlia Mavourneen
2013-09-24 19:23 ` Adam Beneschan
2013-09-24 19:06 ` mockturtle
2013-09-25 7:46 ` Dmitry A. Kazakov
2013-09-24 19:13 ` mockturtle
2013-09-24 19:23 ` Eryndlia Mavourneen
2013-09-24 19:27 ` Adam Beneschan
2013-09-24 20:02 ` J-P. Rosen
2013-09-24 20:17 ` Eryndlia Mavourneen
2013-09-24 20:32 ` Adam Beneschan [this message]
2013-09-24 19:31 ` Jeffrey Carter
2013-09-24 19:43 ` Eryndlia Mavourneen
2013-09-24 19:59 ` Adam Beneschan
2013-09-24 20:50 ` Robert A Duff
2013-09-25 14:40 ` Eryndlia Mavourneen
2013-09-25 21:34 ` Robert A Duff
2013-09-26 12:46 ` Eryndlia Mavourneen
2013-09-29 21:36 ` 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