home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / programm / 18140 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.2 KB

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