home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14064 < prev    next >
Encoding:
Text File  |  1992-08-16  |  1.5 KB  |  36 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!mcsun!sunic!kth.se!dront.nada.kth.se!d88-jwa
  3. From: d88-jwa@dront.nada.kth.se (Jon W{tte)
  4. Subject: Re: Porting code using fork() to the Mac
  5. In-Reply-To: orpheus@reed.edu's message of 16 Aug 92 00:10:18 GMT
  6. Message-ID: <D88-JWA.92Aug16213510@dront.nada.kth.se>
  7. Originator: d88-jwa@dront.nada.kth.se
  8. Sender: usenet@kth.se (Usenet)
  9. Nntp-Posting-Host: dront.nada.kth.se
  10. Organization: Royal Institute of Technology, Stockholm, Sweden
  11. References: <503@owl.ukc.ac.uk> <1992Aug14.181503.3108@amgen.com>
  12.     <1992Aug16.001018.26666@reed.edu>
  13. Date: Sun, 16 Aug 1992 20:35:10 GMT
  14. Lines: 20
  15.  
  16. .edu> orpheus@reed.edu (P. Hawthorne) writes:
  17.  
  18.      In the docs, there is some interesting discussion of a scheme for marking
  19.    all unused code resources purgeable. The idea was to mark all code
  20.    resources purgeable with the obvious exception of one resource, followed by
  21.    a walk of the stack looking for anything resembling a return address, so
  22.    that the relevant resources could be marked as non-purgeable.
  23.  
  24.      Has anyone given that a shot?
  25.  
  26. Don't forget the registers ! And the stacks for all OTHER threads !
  27.  
  28. However, that's exactly how many garbage collection schemes work
  29. in various dynamic languages (such as LISP)
  30.  
  31. -- 
  32. - I have decided that it is not boxes but my lack of skill that's the problem.
  33. - Traitor! This kind of attitude will get you nowhere around here. If you must
  34.   know, it's not your boxes that are the problem, it's your lack of a
  35.   sufficient number of boxes. Go out and buy something.
  36.