caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Damien Doligez <damien.doligez@inria.fr>
To: caml-list@inria.fr, caml@inria.fr, cq@htec.demon.co.uk
Subject: Re:  [Caml-list] fumbling with Gc.finalise
Date: Fri, 5 Oct 2001 14:04:02 +0200 (MET DST)	[thread overview]
Message-ID: <200110051204.OAA0000011265@beaune.inria.fr> (raw)

From: Chris Quinn <cq@htec.demon.co.uk>

>Would it not be more reasonable to treat the argument and
>finalisation closure as roots until the latter has actually completed
>execution? 

That's exactly what the current system does.  I guess what you want is
that the finalisation function for a value is not called until the
finalisation functions of all values that depend on it have finished
execution.  There are two problems with that:

1. What happens to circular values (a circular value depends on
   itself, directly or indirectly).

2. How to implement it with reasonable efficiency.  I don't have a
   solution.

-- Damien
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


             reply	other threads:[~2001-10-05 12:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-05 12:04 Damien Doligez [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-10-01 21:12 Chris Quinn

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200110051204.OAA0000011265@beaune.inria.fr \
    --to=damien.doligez@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=caml@inria.fr \
    --cc=cq@htec.demon.co.uk \
    /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 NNTP newsgroup(s).