comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Deallocating records with task type fields.
Date: Sat, 10 Dec 2005 11:45:37 +0000
Date: 2005-12-10T11:45:37+00:00	[thread overview]
Message-ID: <m2vexxmazi.fsf@grendel.local> (raw)
In-Reply-To: thvmf.1629$QQ1.196@newsread3.news.pas.earthlink.net

"Jeffrey R. Carter" <spam@spam.com> writes:

> Gene wrote:

>> 2.  As I read the ALRM it is incorrect to deallocate a
>> Listener_Type object until the Executive task has exited.  What is
>> a good idiomatic way for the Executive to deallocate its own task
>> local storage just before it exits and without causing a race
>> condition?  [The only ways I can come up with seem like excessive
>> machinery.]
>
> The best way is not to use allocation, and thus not need
> deallocation.

True, but there's still the problem of freeing the resource abstracted
in Gene's original by the Listener_Type object (that is, the port).



  reply	other threads:[~2005-12-10 11:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-09 22:49 Deallocating records with task type fields Gene
2005-12-10  7:16 ` Jeffrey R. Carter
2005-12-10 11:45   ` Simon Wright [this message]
2005-12-10 14:10 ` Dmitry A. Kazakov
2005-12-11  4:06   ` Gene
2005-12-11 11:50     ` Dmitry A. Kazakov
2005-12-12 11:32       ` Alex R. Mosteo
2005-12-12 18:30         ` Pascal Obry
2005-12-13 10:22           ` Alex R. Mosteo
2005-12-12 22:03     ` Randy Brukardt
2005-12-11  5:02   ` Gene
replies disabled

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