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