Article View: comp.sys.amiga.tech
Article #11814AllocRemember & FreeRemember
From: intern
Date: Tue, 14 Mar 1989 21:02
Date: Tue, 14 Mar 1989 21:02
23 lines
1685 bytes
1685 bytes
In article <1452@percival.UUCP> baer@percival.UUCP (Ken Baer) writes:
>Yes, we use AllocRemember() all the time... The drawback is you have to
>keep track of all your keys, which can get messy if you're not careful.
> -Ken Baer.
> // Hash Enterprises: When the Going gets Wierd, the Wierd go Professional
Is it possible to deallocate only part of the memory that was allocated
using a specific key? In other words, I want to use AllocRemember with a
single key for all my allocations, so I could free up all the memory in one
shot upon exit from my program. But during the course of my program execution,
I would like to free up selected chunks of memory, (without freeing up all of
it). Is that doable?
Thanks,
- Steve -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Steve Faiwiszewski bang : {sun!hoptoad , cmcl2!phri} !dasys1!intern
domain : intern@dasys1.UUCP
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Steve Faiwiszewski bang : {sun!hoptoad , cmcl2!phri} !dasys1!intern
domain : intern@dasys1.UUCP
Help save a tree: Print on both sides of the paper
Technical Details
Message-ID:
<9004@dasys1.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!pacbell!hoptoad!dasys1!internReferences:
<1656@ardent.UUCP> <6782@killer.DALLAS.TX.US> <13592@cup.portal.com> <5705@cbmvax.UUCP> <1452@percival.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!pacbell!hoptoad!dasys1!intern From: intern@dasys1.UUCP (intern ) Newsgroups: comp.sys.amiga.tech Subject: AllocRemember & FreeRemember Message-ID: <9004@dasys1.UUCP> Date: 14 Mar 89 21:02:51 GMT References: <1656@ardent.UUCP> <6782@killer.DALLAS.TX.US> <13592@cup.portal.com> <5705@cbmvax.UUCP> <1452@percival.UUCP> Reply-To: intern@dasys1.UUCP (intern ) Distribution: na Organization: Datamerica Systems, NYC Lines: 23