comp.lang.ada
 help / color / mirror / Atom feed
* Deallocating Dynamicly allocated tasks
@ 1996-08-30  0:00 David Mercer
  0 siblings, 0 replies; only message in thread
From: David Mercer @ 1996-08-30  0:00 UTC (permalink / 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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-08-30  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-08-30  0:00 Deallocating Dynamicly allocated tasks David Mercer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox