home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!usc!rpi!rs6110.ecs.rpi.edu!johnsd2
- From: johnsd2@rs6110.ecs.rpi.edu (Daniel Norman Johnson)
- Subject: Re: INIT Idea/Request
- Message-ID: <bq3yq1+@rpi.edu>
- Keywords: INIT, NewHandle, Temporary Memory, Multifinder Memory
- Nntp-Posting-Host: rs6110.ecs.rpi.edu
- Reply-To: johnsd2@rpi.edu
- Organization: Rensselaer Polytechnic Institute, Troy, NY.
- References: <fd3yyt@rpi.edu> <t7qnaga.gurgle@netcom.com>
- Date: Tue, 8 Sep 1992 01:33:54 GMT
- Lines: 34
-
- In article <t7qnaga.gurgle@netcom.com>, gurgle@netcom.com (Pete Gontier) writes:
- |> johnsd2@jec324.its.rpi.edu (Daniel Norman Johnson) writes:
- |>
- |> >It occurs to me that it would be quite neat (to say the least) to get
- |> >rid of this memory zone stuff in the Macintosh by making NewHandle
- |> >act like TempNewHandle. Or more precisely, to make any call to NewHandle
- |> >result in a call to TempNewHandle, and if that fails, a normal call
- |> >to NewHandle.
- |>
- |> This was discussed at length some months ago. Some guy who was Smarter
- |> Than All the Rest of Us Put Together pointed out that this was going
- |> to make some existing applications go crazy. Some do brilliant things
- |> like figure out how much memory is available to them and then allocate
- |> it all in one big block and do their own allocation schemes within that
- |> block. MacPaint 2 is one that springs to mind. Or perhaps MacWrite II.
- |> One of those.
-
- Why would this cause a problem? Sounds to me like it calls some Mem Manager
- routine to find out how much memory is in its zone, then allocates a block
- about that big. Is this not what you are saying?
-
- All taht would imply is that you ought to try to NewHandle before
- you TempNewHandle, or some such thing like that, so this allocation
- would (if possible) be in the app's zone instead of in temp memory
- (where it could get in the way)
-
- At the worst this just means there needs to be a mechanism for
- exceptions to the new memory-allocation arrangement, no?
- --
- - Dan Johnson
- And God said "Jeeze, this is dull"... and it *WAS* dull. Genesis 0:0
-
- These opinions have had all identifiying marks removed, and are untraceable.
- You'll never know whose they are.
-