Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Question about register_global_root
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Maas-Maarten Zeeman <maas@w...>
Subject: Re: [Caml-list] Question about register_global_root
 >
 >
 >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