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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,10d1a90a699d6cfc X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.uni-stuttgart.de!not-for-mail From: Stefan Bellon Newsgroups: comp.lang.ada Subject: Re: Ada tasking question Date: Thu, 19 Apr 2007 01:00:00 +0200 Organization: Comp.Center (RUS), U of Stuttgart, FRG Message-ID: <20070419010000.06b79c2f@cube.tz.axivion.com> References: <20070418201307.18a85fd9@cube.tz.axivion.com> <58nb3uF2gtp0vU1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: infosun2.rus.uni-stuttgart.de 1176937162 26785 129.69.226.21 (18 Apr 2007 22:59:22 GMT) X-Complaints-To: news@news.uni-stuttgart.de NNTP-Posting-Date: Wed, 18 Apr 2007 22:59:22 +0000 (UTC) X-Newsreader: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; i486-pc-linux-gnu) X-URL: http://www.axillion.de/ Xref: g2news1.google.com comp.lang.ada:15107 Date: 2007-04-19T01:00:00+02:00 List-Id: Alex R. Mosteo wrote: > Be aware that this causes heap consumption. That is, a finished task > doesn't just vanishes, it has some heap used for task context that is > not automatically released. To properly free a task access you must > ensure that the task is terminated (My_Task'Terminated) before doing > an Unchecked_Deallocation. > > If you try to free an unfinished task, the call won't fail but the > task context memory won't be freed... Yes, thanks for that hint. It was just prototype code as I wanted to get the other issue solved first. I still had task deallocation on my "todo" list. ;-) -- Stefan Bellon