From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Freeing access-to-task objects
Date: Sun, 09 Oct 2022 09:10:11 -0700 [thread overview]
Message-ID: <86a665htb0.fsf@stephe-leake.org> (raw)
In-Reply-To: th9h7l$1bltq$1@dont-email.me
"Jeffrey R.Carter" <spam.jrcarter.not@spam.acm.org.not> writes:
> On 2022-10-01 13:40, J-P. Rosen wrote:
>> 1) declare the access type in a block, which is then the master of
>> the tasks. When you exit the block, the tasks are terminated.
>
> When you exit the block, the access type doesn't exist, so you can't
> free anything.
But Ada frees all objects allocated using the locally declared access
type when the block is exited.
--
-- Stephe
next prev parent reply other threads:[~2022-10-09 16:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-30 10:16 Freeing access-to-task objects Emmanuel Briot
2022-10-01 11:40 ` J-P. Rosen
2022-10-01 11:58 ` Dmitry A. Kazakov
2022-10-01 21:26 ` Björn Lundin
2022-10-01 14:01 ` Jeffrey R.Carter
2022-10-01 14:45 ` Emmanuel Briot
2022-10-09 16:10 ` Stephen Leake [this message]
2022-10-09 19:42 ` Jeffrey R.Carter
2022-10-10 8:13 ` Simon Wright
2022-10-10 16:35 ` Jeffrey R.Carter
2022-10-10 20:23 ` AdaMagica
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox