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 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 Date: Sat, 12 May 2007 21:17:55 +0200 From: Manuel Collado User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Finalization of static package variables - summary References: <4640f20b$1@news.upm.es> <4642493f@news.upm.es> <4644b24e$1@news.upm.es> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 138.100.242.201 Message-ID: <46461336@news.upm.es> X-Trace: news.upm.es 1178997558 138.100.242.201 (12 May 2007 21:19:18 +0200) Path: g2news1.google.com!news4.google.com!proxad.net!news.in2p3.fr!in2p3.fr!kanaga.switch.ch!switch.ch!hefestos.uned.es!news.rediris.es!news.upm.es!not-for-mail Xref: g2news1.google.com comp.lang.ada:15786 Date: 2007-05-12T21:17:55+02:00 List-Id: Thanks to all who responded. Now it is clear that: 1.- Static packages variables are properly finalized at the end of the main task. 2.- There is a problem with JEWL, if modal dialogs are declared as static package variables. 2.1.- JEWL doesn't provide an explicit 'close' action for this kind of top level windows. It just provides one for 'frames'. 2.2.- After the main procedure ends, there is a deadlock between the main (environment) task and the internal JEWL message task (that is waiting for finalization of all top level windows). 2.3.- Being static variables, the mentioned modal dialogs cannot be 'unchecked_deallocated' to force its finalization To gain the possibility of declaring modal dialogs as static package variables, I've patched the JEWL sources to add a 'close()' procedure for modal dialogs. Thanks again. -- Manuel Collado - http://lml.ls.fi.upm.es/~mcollado