home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!rpi!psinntp!psinntp!fourd!David_B._Lamkins
- Message-ID: <1992Nov07.121133.28296@fourd.com>
- Newsgroups: comp.sys.mac.programmer
- Distribution: world
- From: David_B._Lamkins@fourd.com
- Organization: 4th Dimension BBS
- Date: Sat, 07 Nov 1992 12:11:33 EST
- Subject: Can _DisposHandle move memory?
- Lines: 18
-
- IM-I puts DisposHandle on a list of traps that may move memory or do other
- things that are bad at interrupt time. The IM XREF puts it on a list of traps
- that can't be called at interrupt time.
-
- Now, I can understand why DisposHandle shouldn't be called at interrupt time
- (it would need to grovel over MM structures that might already be in use by an
- application, and the MM is probably not reentrant), but can it _really_
- trigger heap compaction (which is the only case I know of that will cause
- movement of unlocked blocks)? I feel a little silly writing code that assumes
- a DisposHandle call can move memory, but in the absence of a definitive
- answer...
-
- Dave
- ********************************************************************
- System: fourd.com Phone: 617-494-0565
- Cute quote: Being a computer means never having to say you're sorry
- ********************************************************************
-
-