From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ee06257af909a235 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Finalization of static package variables Date: Thu, 10 May 2007 11:16:00 +0300 Message-ID: <5ag2m1F2ot0c3U1@mid.individual.net> References: <4640f20b$1@news.upm.es> <1178723724.958486.24820@u30g2000hsc.googlegroups.com> <464244d8$1@news.upm.es> <1178753228.648765.89390@e65g2000hsc.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: individual.net X72aO+E7zVEjA3b5iQFr9AslqVS4KVHKjc1yHbJHTYgMGj12w= User-Agent: KNode/0.10.4 Xref: g2news1.google.com comp.lang.ada:15707 Date: 2007-05-10T11:16:00+03:00 List-Id: Adam Beneschan wrote: > When you declare My_Frame at the library level, you've got a Catch-22 > problem. 10.2(25) says, "When the environment task completes..., it > waits for the termination of all such tasks, and then finalizes any > remaining objects of the partition". Again, assuming My_Frame's > finalize would terminate the task, the task termination would need to > be performed by the object finalization; but 10.2(25) says that task > termination must come *first*, before object finalization. Yikes! Ahhhh... good catch!