unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Neil Jerram <neil@ossau.uklinux.net>
Cc: guile-user@gnu.org, guile-devel@gnu.org
Subject: Re: The order of objects returned from a guardian
Date: Thu, 28 Jul 2005 23:37:40 +0100	[thread overview]
Message-ID: <42E95E34.10903@ossau.uklinux.net> (raw)
In-Reply-To: <873bq1gn15.fsf@zagadka.de>

Marius Vollmer wrote:
> 
> So, do you rely on this ordering guarantee?

No, my uses of guardians don't rely on this.

Also I'm pretty sure that I'd expect any object added to a guardian to
be returned when that object becomes inaccessible.  If cycles can make
this untrue, even when the whole cycle is inaccessible, that's pretty bad.

So I'm happy with your proposal.

> If you do, you would need to take care of the ordering yourself, which
> is quite easy by keeping objects alive in a global data structure
> until they are no longer needed.

Not sure what you mean by this, though.  How would this generate an
ordering?

	Neil


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


  parent reply	other threads:[~2005-07-28 22:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-26 23:33 The order of objects returned from a guardian Marius Vollmer
2005-07-27  0:42 ` 64bit guile: one bug found, one improvement suggested Roland Orre
2005-07-28 22:37 ` Neil Jerram [this message]
2005-07-31 19:31   ` The order of objects returned from a guardian Marius Vollmer
2005-07-31 21:25     ` Marius Vollmer

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=42E95E34.10903@ossau.uklinux.net \
    --to=neil@ossau.uklinux.net \
    --cc=guile-devel@gnu.org \
    --cc=guile-user@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).