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.4 required=5.0 tests=BAYES_00,SUBJ_ALL_CAPS autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,51359402da60c472 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-18 16:28:37 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!sccrnsc02.POSTED!not-for-mail Message-ID: <3EF0F57D.9060507@attbi.com> From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: DYNAMIC ADA TASK CREATION? References: <3EF0026E.2050309@attbi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.62.164.137 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc02 1055978916 24.62.164.137 (Wed, 18 Jun 2003 23:28:36 GMT) NNTP-Posting-Date: Wed, 18 Jun 2003 23:28:36 GMT Organization: AT&T Broadband Date: Wed, 18 Jun 2003 23:28:36 GMT Xref: archiver1.google.com comp.lang.ada:39418 Date: 2003-06-18T23:28:36+00:00 List-Id: avram wrote: > Thanx very much. > I have one more question. > What about task memory deallocation. > How to wait untill task ends? > Is it possible to deallocate memory after the end of task from "parent task" If you really want to. If the task is created with an allocator, you can test for TA(...)'Terminated and call an instance of Unchecked_Deallocation for the task access value. (You can call Unchecked_Deallocation on an unterminated task, but it is not a good idea, in general. It is a bad idea if the task has discriminants.)