From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,NICE_REPLY_A, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R.Carter" Newsgroups: comp.lang.ada Subject: Re: Freeing access-to-task objects Date: Sat, 1 Oct 2022 16:01:24 +0200 Organization: A noiseless patient Spider Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 1 Oct 2022 14:01:25 -0000 (UTC) Injection-Info: reader01.eternal-september.org; posting-host="6323368fc5684dbf250e5f4029baf67d"; logging-data="1431482"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184QH4hLSafzrFRQvlMY64LGB/bKBa3d0w=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Cancel-Lock: sha1:n13RuN2554qWQLAhLKtzFIuahO8= Content-Language: en-US In-Reply-To: Xref: reader01.eternal-september.org comp.lang.ada:64472 List-Id: 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. -- Jeff Carter "Sir Lancelot saves Sir Gallahad from almost certain temptation." Monty Python & the Holy Grail 69