From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA10576; Mon, 2 Jun 2003 14:45:14 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA10768 for ; Mon, 2 Jun 2003 14:45:13 +0200 (MET DST) Received: from smtp6.wanadoo.nl (smtp6.wanadoo.nl [194.134.35.177]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h52CjCH17069; Mon, 2 Jun 2003 14:45:12 +0200 (MET DST) Received: from wanadoo.nl (p4821.vwr.wanadoo.nl [62.234.192.221]) by smtp6.wanadoo.nl (Postfix) with ESMTP id 146BB70678; Mon, 2 Jun 2003 14:15:21 +0200 (CEST) Message-ID: <3EDB3EFA.7000606@wanadoo.nl> Date: Mon, 02 Jun 2003 14:11:38 +0200 From: Maas-Maarten Zeeman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 X-Accept-Language: en MIME-Version: 1.0 Cc: Damien Doligez , caml-list@inria.fr Subject: Re: [Caml-list] Question about register_global_root References: <1054553849.31726.7.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; caml-list:01 stub:01 crashes:01 passing:01 ocaml:01 garbage:01 stubs:01 string:03 btw:03 anybody:03 generally:05 feature:07 root:07 i'm:07 developers:08 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > > >Us poor developers could use a little improvement in the doc in this >area. Some additional example doing this feature in the doc would >help... > For sure! Btw. does anybody know if it is possible/allowed to call 'compact_heap' inside a c stub? Somebody privately suggested to add a call to this function to check for garbage collection problems. The strange thing is that I'm getting reproducable crashes if I call it, and also use String.sub, or String.copy in the ocaml program which calls the stubs. Just passing a string is generally ok. Maas ------------------- 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