From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Michael Livshin Newsgroups: gmane.lisp.guile.devel Subject: Re: lazy sweeping. Date: Tue, 30 Jul 2002 15:10:22 +0300 Organization: The Church of God the Utterly Indifferent Sender: guile-devel-admin@gnu.org Message-ID: References: <15684.32520.154258.348830@blauw.xs4all.nl> <15686.26071.964366.614742@blauw.xs4all.nl> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028031041 17571 127.0.0.1 (30 Jul 2002 12:10:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 30 Jul 2002 12:10:41 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17ZVpn-0004ZA-00 for ; Tue, 30 Jul 2002 14:10:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17ZVqE-0002Sq-00; Tue, 30 Jul 2002 08:11:06 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17ZVpX-0002SE-00 for ; Tue, 30 Jul 2002 08:10:24 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.33 #1 (Debian)) id 17ZVp2-0004XT-00 for ; Tue, 30 Jul 2002 14:09:52 +0200 Original-To: guile-devel@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-Received: from news by main.gmane.org with local (Exim 3.33 #1 (Debian)) id 17ZVp2-0004XL-00 for ; Tue, 30 Jul 2002 14:09:52 +0200 Original-Path: not-for-mail Original-Newsgroups: gmane.lisp.guile.devel Original-Lines: 16 Original-NNTP-Posting-Host: laredo.verisity.com Original-X-Trace: main.gmane.org 1028030992 16236 212.150.223.230 (30 Jul 2002 12:09:52 GMT) Original-X-Complaints-To: usenet@main.gmane.org Original-NNTP-Posting-Date: Tue, 30 Jul 2002 12:09:52 +0000 (UTC) Mail-copies-to: never User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Honest Recruiter, i686-pc-linux) Cancel-Lock: sha1:f+TcglnUtAYo+qhZH2yDwLGfQ/Y= Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:890 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:890 Han-Wen 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