home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / lisp / x / 290 < prev    next >
Encoding:
Text File  |  1993-01-06  |  2.2 KB  |  52 lines

  1. Newsgroups: comp.lang.lisp.x
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!nott!bnrgate!bcars267!news
  3. From: emcoop@bnr.ca (hume smith)
  4. Subject: Re: Re: *unbound* in *obarray*
  5. Message-ID: <21495.1993Jan6.173532@bcars148>
  6. Lines: 43
  7. Sender: news@bnr.ca (usenet)
  8. Nntp-Posting-Host: bcars148
  9. Organization: Bell-Northern Research, Ottawa, Canada
  10. X-Poster: Emacs-NNTP-0.1
  11. References: <13142@sail.LABS.TEK.COM> <21495.1993Jan5.174456@bcars148>
  12. Date: Wed, 6 Jan 1993 22:35:32 GMT
  13.  
  14. In <13142@sail.LABS.TEK.COM>, toma@sail.LABS.TEK.COM (Tom Almy) said:
  15. > Hume,
  16. >  The first part of your message appears to be missing.
  17.  
  18. but apearances can be deceiving!  it was all there.  i guess i really
  19. should be ambitious enough to capitalise.
  20.  
  21. btw Tom, have you gotten any mail from me lately, like, the last
  22. few days?  i've got a sneaking suspicion my mail connections are
  23. downn...
  24.  
  25. > You know, I don't know why it wasn't done that way in the first place. If 
  26. > *unbound* was not interned in the first place then everything should work 
  27. > fine (however, special treatment would be needed in the gc, as you seem 
  28. > to be alluding to, and also in save/restore.
  29.  
  30. what i was actually alluding to was that once my slip of excessively-commented
  31. code was run, if ever EVERY symbol was boundp and fboundp (and whatever other
  32. pointers *unbound* got used in), AND a gc was done, the special symbol would
  33. be collected, probably making ripe chunder later.
  34.  
  35. i've been theorizing a little on how to fix it... i'm wondering, if s_unbound pointed
  36. to a static (C compile-time) piece of memory, what would hapen.  surely the "figure
  37. out what's used" part of gc would just mark it used, and the "build freelist" part
  38. would just not see it, it not being in a segment.  so it should work.
  39.  
  40. i've obviously got to wade through the gc code and find out.
  41.  
  42. it does, still, need treatment in save/restore.
  43.  
  44. another possibility - now that nil is an actual symbol, how hard would it be to
  45. use the NUL pointer?
  46. --
  47. Hume Smith                      Wenn ich des Tages nicht dreimal
  48. hume.smith@acadiau.ca           mein Schaelchen Coffee trinken darf,
  49. emcoop@bnr.ca              //   so werd' ich ju zu meiner Qual
  50.                          \X/    wie ein verdorrtes Ziegenbraetchen.
  51.  
  52.