From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: tomas@fabula.de Newsgroups: gmane.lisp.guile.devel Subject: Re: documentation.scm close files Date: Sat, 24 May 2003 10:46:53 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <20030524084653.GA19308@www> References: <87smrqxt3b.fsf@zip.com.au> <878yt55od2.fsf@zagadka.ping.de> <878yt3yig4.fsf@zip.com.au> <87znlfj54m.fsf@zip.com.au> <20030522095953.GA10564@www> <87r86pi04f.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053761741 11125 80.91.224.249 (24 May 2003 07:35:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 24 May 2003 07:35:41 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat May 24 09:35:39 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19JTZ5-0002tH-00 for ; Sat, 24 May 2003 09:35:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19JTas-00043Z-Uz for guile-devel@m.gmane.org; Sat, 24 May 2003 03:37:30 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19JTaa-0003f7-ON for guile-devel@gnu.org; Sat, 24 May 2003 03:37:12 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19JTaD-00029E-86 for guile-devel@gnu.org; Sat, 24 May 2003 03:36:51 -0400 Original-Received: from [217.22.192.104] (helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.20) id 19JTYu-0000kl-AN for guile-devel@gnu.org; Sat, 24 May 2003 03:35:28 -0400 Original-Received: by www.elogos.de (Postfix, from userid 5002) id E712C1457F; Sat, 24 May 2003 10:46:53 +0200 (CEST) Original-To: Kevin Ryde Content-Disposition: inline In-Reply-To: <87r86pi04f.fsf@zip.com.au> User-Agent: Mutt/1.5.3i X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2439 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2439 On Sat, May 24, 2003 at 11:50:24AM +1000, Kevin Ryde wrote: > tomas@fabula.de writes: > > > > it seems important to me to make even clearer that the garbage collector > > is triggered when we are short on memory > > Yep, good point. New words below. Wow. Thanks. > I guess some sort of file descriptor threshold scheme might be cute. > Like garbage collect after every 10 or 20 files net opened (ie. opens > less explicit closes). > > I suppose to be reliable such a scheme would need to be carefully > applied to all functions opening or closing fds. Not much value if > it's not universal. But file descriptors are just one of many possible resources which might run low and which might be recovered from gc. (that's what I was trying to hint at with this strange Oracle anecdote). Would it be worth implementing a generalized resource watcher framework? Are fds important enough to implement a special case for them? May be... Regards -- tomas _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel