From: Florian Weimer <fw@deneb.cygnus.argh.org>
Subject: Re: Dynamic allocation of tasks
Date: 2000/03/24
Date: 2000-03-24T16:21:00+00:00 [thread overview]
Message-ID: <87u2hwuyok.fsf@deneb.cygnus.argh.org> (raw)
In-Reply-To: 8bbr0n$8st$1@nnrp1.deja.com
Robert Dewar <robert_dewar@my-deja.com> writes:
> > 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.
Well, until recently, I was unable to reproduce the behavior in a
sufficiently small test program. This test program indicates that the
resource leak is a GNAT specific issue, and I'm going to start a thread
on GNAT chat for that.
> For example, we often see people doing an abort immediately followed
> by an unchecked deallocation, and you can't rely on that to work!
Is it save to wait (using delay) until T'Terminated becomes true,
and deallocate after that?
prev parent reply other threads:[~2000-03-24 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
2000-03-24 0:00 ` Florian Weimer [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox