[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference 7.286::atarist

Title:Atari ST, TT, & Falcon
Notice:Please read note 1.0 and its replies before posting!
Moderator:FUNYET::ANDERSON
Created:Mon Apr 04 1988
Last Modified:Tue May 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1433
Total number of notes:10312

357.0. "Memory allocation/deallocation " by MOVIES::FORSTER () Tue Jan 03 1989 08:15

According to the books I read, when a task finishes with a TERM() system call
then any memory allocated to the task should be deallocated by the system.
The problem I'm facing is that if I PEXEC () a task from my debugger then
any memory that task uses is not deallocated when it exits back to the debugger
I assume that since the debugger invoked the task by PEXEC () then any memory 
the task allocates is also 'owned' by the debugger. Thus the memory does not get 
deallocated when the task exits.

Anyone got any firm information on this ?

Also, I got a copy of the 'PEXEC cookbook' from a note in this or the earlier
ATARI notesfile. It hinted at all sorts of interesting stuff to come in
a later edition. Does anyone know if a later edition actually appeared ?

Dave.
T.RTitleUserPersonal
Name
DateLines