unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Neil Jerram <neil@ossau.uklinux.net>
Cc: guile-devel@gnu.org
Subject: Re: scheme closures: crash during garbage collection
Date: Wed, 12 Jul 2006 22:48:34 +0100	[thread overview]
Message-ID: <87hd1mwl3h.fsf@ossau.uklinux.net> (raw)
In-Reply-To: <87u05s2l1e.fsf@zagadka.de> (Marius Vollmer's message of "Sat, 08 Jul 2006 18:06:37 +0300")

Marius Vollmer <mvo@zagadka.de> writes:

> Neil Jerram <neil@ossau.uklinux.net> 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


  reply	other threads:[~2006-07-12 21:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <64e2f6fe0606081528m4e5f9979yff9b8294ecedf6d2@mail.gmail.com>
2006-06-09 19:54 ` scheme closures: crash during garbage collection Neil Jerram
2006-06-09 21:54   ` Han-Wen Nienhuys
2006-06-10  9:40     ` Marius Vollmer
2006-06-12 22:34       ` Neil Jerram
2006-06-12 23:33         ` Han-Wen Nienhuys
2006-06-12 23:45           ` Neil Jerram
2006-07-08 15:06         ` Marius Vollmer
2006-07-12 21:48           ` Neil Jerram [this message]
2006-10-27  9:49           ` Andy Wingo

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=87hd1mwl3h.fsf@ossau.uklinux.net \
    --to=neil@ossau.uklinux.net \
    --cc=guile-devel@gnu.org \
    /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).