comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: Delayed deallocation of non-terminated task in Gnat?
Date: Thu, 01 Sep 2011 07:24:46 +0200
Date: 2011-09-01T07:24:46+02:00	[thread overview]
Message-ID: <j3n4uk$9v3$1@dont-email.me> (raw)
In-Reply-To: <bca128ed-da54-4335-811c-d84974b666f8@14g2000prv.googlegroups.com>

Le 01/09/2011 00:36, Adam Beneschan a �crit :
> But I'm not talking about a task being completed.  It's pretty clear
> that it's possible to use Unchecked_Deallocation on an object that
> contains an access to a task, and this Unchecked_Deallocation can
> complete, without the task being completed.  But this means that the
> task *object* (which isn't the same as a task, I think) ceases to
> exist, even though the task still hasn't completed; and a literal (but
> possibly absurd) reading of the RM would mean that the task's entry
> queues no longer exist (even though the task still hasn't completed),
> leading to questions about what happens to tasks that are already on
> those queues.
> 
TBH, I didn't even think that anybody (human, RM, or implementation)
would even consider freeing part of a task's space before the task is
completed ;-)

-- 
---------------------------------------------------------
           J-P. Rosen (rosen@adalog.fr)
Adalog a d�m�nag� / Adalog has moved:
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00



  reply	other threads:[~2011-09-01  5:24 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-30 13:22 Delayed deallocation of non-terminated task in Gnat? Marc C
2011-08-30 15:20 ` Dmitry A. Kazakov
2011-08-31 18:12   ` Robert A Duff
2011-08-31 19:23     ` Dmitry A. Kazakov
2011-08-31 20:58       ` Robert A Duff
2011-08-31 21:16         ` Jeffrey Carter
2011-08-31 20:25     ` J-P. Rosen
2011-08-31 21:09       ` Robert A Duff
2011-08-31 21:53         ` Simon Wright
2011-08-30 15:38 ` Adam Beneschan
2011-08-30 16:42   ` Dmitry A. Kazakov
2011-08-30 18:57     ` Niklas Holsti
2011-08-30 19:23       ` Dmitry A. Kazakov
2011-08-31 16:39   ` Adam Beneschan
2011-08-31 18:21     ` Robert A Duff
2011-08-31 23:28       ` Adam Beneschan
2011-09-01 11:58         ` Robert A Duff
2011-08-31 20:30     ` J-P. Rosen
2011-08-31 22:36       ` Adam Beneschan
2011-09-01  5:24         ` J-P. Rosen [this message]
2011-08-31 18:08 ` 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