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=2.9 required=5.0 tests=BAYES_50,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,32f6566881123011,start X-Google-Attributes: gid103376,public From: Dave.Mercer@sofkin.ca (David Mercer) Subject: Deallocating Dynamicly allocated tasks Date: 1996/08/30 Message-ID: <3226f140.95962543@news.nstn.ca>#1/1 X-Deja-AN: 177435074 organization: Software Kinetics Limited reply-to: Dave.Mercer@sofkin.ca newsgroups: comp.lang.ada Date: 1996-08-30T00:00:00+00:00 List-Id: I have a record which contains a task type as one of its subcomponents. I have to dynamicly allocate instances of the record and deallocate as required. The problem I have concerns reclaiming the memory consumed by the task subcomponent. LRM 13.10(8) states that using Unchecked_Deallocation on a task object has no effect. Likewise, using Unchecked_Deallocation on an object which contains a task object has no effect on the task subcomponent. My question is: How can I dynamicaly allocate a record which contains a task subcomponent and then reclaim ALL the memory used by the record and its task at some later time? I am using Apex Ada v2.0.8E. Thanks DAve -- Dave Mercer, MEng, PEng Software Kinetics Ltd. 65 Iber Road Stittsville, Ontario, Canada K2S 1E7 Ph. 613-831-0888 Fax. 613-831-1836 EMail. dave.mercer@sofkin.ca