comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Problem with Delay Alternative in Finalization
Date: Sat, 19 May 2012 18:33:53 +0100
Date: 2012-05-19T18:33:53+01:00	[thread overview]
Message-ID: <m2r4ug848u.fsf@nidhoggr.home> (raw)
In-Reply-To: 6v0er7d545kvs3pr7aqe1dnrlq4mg5ldhg@4ax.com

Tim McGuire <mcguire_tm2@yahoo.com> writes:

> I am running in to a problem where a delay alternive used when in
> finalization doesn't seem to be working properly.
> The delay part never seems to happen.

I ran this (after correcting a couple of minor compilation problems) on
a Mac. Using both GNAT GPL 2011 and GCC 4.7.0, the appearance on-screen
is as though the timeout didn't occur:

   $ ./token_test 
   Got Token
   Token timed out!

With both compilers, the debugger shows that the Lock_Timeout_Exception
did in fact happen. What happens next is confused .. Dmitry is probably
right.



  parent reply	other threads:[~2012-05-19 17:35 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
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 [this message]
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