From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: scheme closures: crash during garbage collection Date: Wed, 12 Jul 2006 22:48:34 +0100 Message-ID: <87hd1mwl3h.fsf@ossau.uklinux.net> References: <64e2f6fe0606081528m4e5f9979yff9b8294ecedf6d2@mail.gmail.com> <87odx2ds0o.fsf@ossau.uklinux.net> <87mzclmjq8.fsf@zagadka.de> <87odwyt33x.fsf@ossau.uklinux.net> <87u05s2l1e.fsf@zagadka.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1152740947 1336 80.91.229.2 (12 Jul 2006 21:49:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Jul 2006 21:49:07 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Jul 12 23:49:04 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G0mZb-0006LP-CP for guile-devel@m.gmane.org; Wed, 12 Jul 2006 23:48:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G0mZa-0000gJ-Uj for guile-devel@m.gmane.org; Wed, 12 Jul 2006 17:48:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G0mZY-0000fI-29 for guile-devel@gnu.org; Wed, 12 Jul 2006 17:48:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G0mZU-0000f6-Bs for guile-devel@gnu.org; Wed, 12 Jul 2006 17:48:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G0mZU-0000f2-6e for guile-devel@gnu.org; Wed, 12 Jul 2006 17:48:40 -0400 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G0mb6-0004k7-Q7 for guile-devel@gnu.org; Wed, 12 Jul 2006 17:50:20 -0400 Original-Received: from laruns (host86-143-154-55.range86-143.btcentralplus.com [86.143.154.55]) by mail3.uklinux.net (Postfix) with ESMTP id 4DCDF409FDB; Wed, 12 Jul 2006 21:48:38 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id 68E536FFE1; Wed, 12 Jul 2006 22:48:34 +0100 (BST) Original-To: Marius Vollmer In-Reply-To: <87u05s2l1e.fsf@zagadka.de> (Marius Vollmer's message of "Sat, 08 Jul 2006 18:06:37 +0300") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5998 Archived-At: Marius Vollmer writes: > Neil Jerram writes: > >>> Guile wants you to integrate your objects with its mark/sweep >>> approach, by providing appropriate smob marking functions, for >>> example. >> >> If I've understood correctly, this isn't possible in Gregory's >> scenario. >> >> (See >> http://lists.gnu.org/archive/html/guile-gtk-general/2006-06/msg00013.html >> if you didn't see the whole description on guile-gtk-general already.) > > I think this (and also the problem of reference loops that easily form > over widgets and signal handlers) has been successfully solved in the > guile-gtk bindings of yore: http://www.gnu.org/software/guile-gtk/ Many thanks for this explanation; it looks good. In principle, however, I still think this is pretty tricky and so it would be nice if libguile could offer some help here. So if it is possible to generalise this into something not GtkObject-specific, it would be nice to provide this as a set of libguile library functions. Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel