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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,23ffa52608fbb144 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.205.134.138 with SMTP id ic10mr1767801bkc.8.1337436337809; Sat, 19 May 2012 07:05:37 -0700 (PDT) Path: e27ni16965bkw.0!nntp.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!news.stack.nl!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Problem with Delay Alternative in Finalization Date: Sat, 19 May 2012 16:04:03 +0200 Organization: cbb software GmbH Message-ID: References: <6v0er7d545kvs3pr7aqe1dnrlq4mg5ldhg@4ax.com> <195fr7578nlfuegpdm70u1lk51lrg1pk7d@4ax.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: 4RFYTQ6jM/dAKFJoI0fUkg.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-05-19T16:04:03+02:00 List-Id: On Sat, 19 May 2012 07:51:59 -0500, Tim McGuire wrote: > The code works fine under Solaris with the Rational compiler, so is it > a GNAT issue? Or should it have not worked to start with? Raising exceptions from Initialize is a bad idea in any case. > And why doesn't the program crash on the Program_Error, rather than > just hang indefinitely? 4.3 is a relatively old compiler which might have problems with tasking. I remember that adding a delay 0.01 at the beginning of the main program helped to kick out tasks. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de