comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Dynamic allocation of tasks
Date: 2000/03/23
Date: 2000-03-23T00:00:00+00:00	[thread overview]
Message-ID: <8bbr0n$8st$1@nnrp1.deja.com> (raw)
In-Reply-To: 87ya7aewb8.fsf@deneb.cygnus.argh.org

In article <87ya7aewb8.fsf@deneb.cygnus.argh.org>,
  Florian Weimer <fw-usenet@deneb.cygnus.argh.org> wrote:
> Robert Dewar <robert_dewar@my-deja.com> writes:
>
> > > I found no way to complete a task before its allocator
> > completes.
> >
> > terminate task (e.g. abort it), then use unchecked
> > deallocation (see RM D.12(4)).
>
> I tried this (with GNAT 3.12p), and it didn't work (there was
a resource
> leak, of both memory and kernel threads IIRC).

As always you should post your code. For example, we often
see people doing an abort immediately followed by an
unchecked deallocation, and you can't rely on that to work!


Sent via Deja.com http://www.deja.com/
Before you buy.




  parent reply	other threads:[~2000-03-23  0:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-22  0:00 Dynamic allocation of tasks Florian Weimer
2000-03-22  0:00 ` Robert Dewar
2000-03-22  0:00   ` Florian Weimer
2000-03-22  0:00     ` Lutz Donnerhacke
2000-03-22  0:00       ` Florian Weimer
2000-03-27  0:00         ` Robert A Duff
2000-03-28  0:00           ` Florian Weimer
2000-03-28  0:00             ` Tucker Taft
2000-03-23  0:00     ` Robert Dewar [this message]
2000-03-24  0:00       ` Florian Weimer
replies disabled

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