From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1583af5ff29435e5 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Dynamic allocation of tasks Date: 2000/03/23 Message-ID: <8bbr0n$8st$1@nnrp1.deja.com>#1/1 X-Deja-AN: 601097497 References: <87r9d3gvix.fsf@deneb.cygnus.argh.org> <8basg1$627$1@nnrp1.deja.com> <87ya7aewb8.fsf@deneb.cygnus.argh.org> X-Http-Proxy: 1.0 x25.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Thu Mar 23 01:12:03 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-03-23T00:00:00+00:00 List-Id: In article <87ya7aewb8.fsf@deneb.cygnus.argh.org>, Florian Weimer wrote: > Robert Dewar 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.