caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Fernando Alegre <fernando@cc.gatech.edu>
To: Damien Doligez <damien.doligez@inria.fr>
Cc: andrieu@ijm.jussieu.fr, fernando@cc.gatech.edu, caml-list@inria.fr
Subject: Re: [Caml-list] finalizing bigarrays
Date: Mon, 8 Jul 2002 10:52:46 -0400	[thread overview]
Message-ID: <20020708105246.A10500@gaia.cc.gatech.edu> (raw)
In-Reply-To: <200207081448.QAA0000015136@beaune.inria.fr>; from damien.doligez@inria.fr on Mon, Jul 08, 2002 at 04:48:19PM +0200


Can Gc.finalise be used with externally allocated bigarrays?

I thought it worked only for Caml-allocated types.

Am I wrong?

Fernando

On Mon, Jul 08, 2002 at 04:48:19PM +0200, Damien Doligez wrote:
> >From: Olivier Andrieu <andrieu@ijm.jussieu.fr>
> 
> >How about defining
> >  external finalise_my_bigarray : ('a, 'b, 'c) Bigarray.Genarray.t -> unit
> >and then using
> >  Gc.finalise ?
> 
> Watch out !  Gc.finalise is buggy in 3.04.  Before you use it, wait
> for 3.05, or use the CVS version of O'Caml, or ask me for a patch.
> 
> -- Damien

-- 
					
			-Fernando Alegre (fernando@cc.gatech.edu)
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2002-07-08 14:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-08 14:48 Damien Doligez
2002-07-08 14:52 ` Fernando Alegre [this message]
2002-07-08 15:48   ` Xavier Leroy
2002-07-09  4:49     ` Fernando Alegre
  -- strict thread matches above, loose matches on Subject: below --
2002-07-08 13:28 Fernando Alegre
2002-07-08 14:21 ` Olivier Andrieu

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=20020708105246.A10500@gaia.cc.gatech.edu \
    --to=fernando@cc.gatech.edu \
    --cc=andrieu@ijm.jussieu.fr \
    --cc=caml-list@inria.fr \
    --cc=damien.doligez@inria.fr \
    /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).