unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Michael Livshin <guile@cmm.kakpryg.net>
Subject: Re: lazy sweeping.
Date: Tue, 30 Jul 2002 15:10:22 +0300	[thread overview]
Message-ID: <s3znw9mn69.fsf@cmm.kakpryg.net.cmm> (raw)
In-Reply-To: 15686.26071.964366.614742@blauw.xs4all.nl

Han-Wen <hanwen@cs.uu.nl> writes:

> oh, btw, I noticed that only ports are flushed on exit of GUILE (gc.c
> - onexit ()). The manual talks about "freeing resources" for the smob
> free function. I believe that is inaccurate: free is only for freeing
> memory. Stuff like closing files should happen in an explicitly called
> function, for the free() might never get called at then end.

why not free resources in smob free() too?  think of it as of a safety
net.

but of course freeing external resources explicitly is preferable.

-- 
A CONS is an object which cares.
                -- Bernie Greenberg.



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


  reply	other threads:[~2002-07-30 12:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-28 23:32 lazy sweeping Han-Wen
2002-07-29  0:07 ` Michael Livshin
2002-07-29  9:48   ` Han-Wen Nienhuys
2002-07-29 10:14     ` Michael Livshin
2002-07-29 12:40       ` Han-Wen Nienhuys
2002-07-29 13:00         ` Michael Livshin
2002-07-29 13:06           ` Han-Wen Nienhuys
2002-07-30 10:09   ` Han-Wen
2002-07-30 12:10     ` Michael Livshin [this message]
2002-07-29  4:31 ` Tom Lord
2002-07-29 15:17   ` Han-Wen Nienhuys
2002-07-29 13:16 ` Mikael Djurfeldt
2002-07-29 13:22   ` Han-Wen Nienhuys

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s3znw9mn69.fsf@cmm.kakpryg.net.cmm \
    --to=guile@cmm.kakpryg.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).