--------------------------------<snip>--------------------------------
What is the advantage of freeing an entire subpool vs. freeing the memory by address?
---------------------------------<unsnip>-----------------------------
Suppose you have a utility program. Suppose that it allocates storage for a particular function, in indeterminate amounts. One example of this might be a linked-list of control information instorage. By doing a subpool release at the end of a particular function, you can vastly simplify the various clean-up tasks in preparation for the next function. (Like for the next control statement, maybe.)


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to