CompuServe Messages

#Code Segment Mgmt …

    19-Jul-93 23:50:26
Fm: Robert S. Mah[OSB] 72511,421
To: Joe Terry |Manhattan| 72130,2100
Joe, Well, one comment I'd like to make is the idea of "defered segment unloading". We use this to clean out the heap at a later time when it is safe to do so. We use a combination of your approach (checking to see if it's in the call chain) and queueing segments until the main event loop is reached before it is de-queued. Works great, and keeps the "UnloadSegs" dependencies out of code. That is, each module unloads itself. Cheers, Rob