comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: Freeing access-to-task objects
Date: Mon, 10 Oct 2022 13:23:04 -0700 (PDT)	[thread overview]
Message-ID: <36d635a5-7280-4ca8-8564-3cccde40bb9fn@googlegroups.com> (raw)
In-Reply-To: <86a665htb0.fsf@stephe-leake.org>

Stephen Leake schrieb am Sonntag, 9. Oktober 2022 um 18:10:15 UTC+2:
> But Ada frees all objects allocated using the locally declared access 
> type when the block is exited. 

Finalizing and Deallocation are often confused. If the scope of the access is left, all still existing objects allocated are finalized in some order. As others have said, storage is reclaimed only if Storage_Size is given.

Finalization does not deallocate; but Deallocation does finalization.

      parent reply	other threads:[~2022-10-10 20:23 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
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 [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