From: Dave.Mercer@sofkin.ca (David Mercer)
Subject: Deallocating Dynamicly allocated tasks
Date: 1996/08/30
Date: 1996-08-30T00:00:00+00:00 [thread overview]
Message-ID: <3226f140.95962543@news.nstn.ca> (raw)
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
reply other threads:[~1996-08-30 0:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox