<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2002/07/e869a5f1f6d1ae8278108425d54bf213"
  from="Fernando Alegre &lt;fernando@c...&gt;"
  author="Fernando Alegre"
  date="2002-07-08T14:52:50"
  subject="Re: [Caml-list] finalizing bigarrays"
  prev="2002/07/d84193189834bb0b419bebbe8b34fe34"
  next="2002/07/d0bd306032bce489eca958a71cda585c"
  prev-in-thread="2002/07/d84193189834bb0b419bebbe8b34fe34"
  next-in-thread="2002/07/d0bd306032bce489eca958a71cda585c"
  prev-thread="2002/07/7e2792e8388e42aaaa374716c37998e6"
  next-thread="2002/07/41955c135ff961fc69a8edb83b7357d5"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="Re: [Caml-list] finalizing bigarrays">
<msg 
  url="2002/07/d84193189834bb0b419bebbe8b34fe34"
  from="Damien Doligez &lt;damien.doligez@i...&gt;"
  author="Damien Doligez"
  date="2002-07-08T14:48:31"
  subject="Re: [Caml-list] finalizing bigarrays">
<msg 
  url="2002/07/e869a5f1f6d1ae8278108425d54bf213"
  from="Fernando Alegre &lt;fernando@c...&gt;"
  author="Fernando Alegre"
  date="2002-07-08T14:52:50"
  subject="Re: [Caml-list] finalizing bigarrays">
<msg 
  url="2002/07/d0bd306032bce489eca958a71cda585c"
  from="Xavier Leroy &lt;xavier.leroy@i...&gt;"
  author="Xavier Leroy"
  date="2002-07-08T15:48:21"
  subject="Re: [Caml-list] finalizing bigarrays">
<msg 
  url="2002/07/f9f4a8f9991df7c7143419e673d0dbe1"
  from="Fernando Alegre &lt;fernando@c...&gt;"
  author="Fernando Alegre"
  date="2002-07-09T04:48:46"
  subject="Re: [Caml-list] finalizing bigarrays">
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>

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:
&gt; &gt;From: Olivier Andrieu &lt;andrieu@ijm.jussieu.fr&gt;
&gt; 
&gt; &gt;How about defining
&gt; &gt;  external finalise_my_bigarray : ('a, 'b, 'c) Bigarray.Genarray.t -&gt; unit
&gt; &gt;and then using
&gt; &gt;  Gc.finalise ?
&gt; 
&gt; Watch out !  Gc.finalise is buggy in 3.04.  Before you use it, wait
&gt; for 3.05, or use the CVS version of O'Caml, or ask me for a patch.
&gt; 
&gt; -- 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

</contents>

</message>

