comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Problem with Delay Alternative in Finalization
Date: Sat, 19 May 2012 16:04:03 +0200
Date: 2012-05-19T16:04:03+02:00	[thread overview]
Message-ID: <ng6oel161zxb$.1nilsz40f92od$.dlg@40tude.net> (raw)
In-Reply-To: 195fr7578nlfuegpdm70u1lk51lrg1pk7d@4ax.com

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



  reply	other threads:[~2012-05-19 14:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-19  2:30 Problem with Delay Alternative in Finalization Tim McGuire
2012-05-19  6:12 ` Dmitry A. Kazakov
2012-05-19 12:51   ` Tim McGuire
2012-05-19 14:04     ` Dmitry A. Kazakov [this message]
2012-05-19 19:46   ` Robert Matthews
2012-05-20 16:46     ` Tim McGuire
2012-05-20 17:01       ` Dmitry A. Kazakov
2012-05-20 20:36         ` Simon Wright
2012-05-19 17:33 ` Simon Wright
2012-05-20  6:17   ` Simon Wright
2012-05-19 20:31 ` Robert A Duff
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox