Version française
Home     About     Download     Resources     Contact us    
Browse thread
Heaps size problems with "caml_alloc_small" in foreign function interfaces
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Heaps size problems with "caml_alloc_small" in foreign function interfaces
On Fri, Jul 11, 2008 at 10:40:50AM +0100, Richard Jones wrote:
>   v = caml_alloc (2, 0);
>   vv = caml_alloc (3, 0);  /* GC could run here */

Ick, actually caml_alloc is OK, it's only caml_alloc_small which
doesn't initialize.

Rich.

-- 
Richard Jones
Red Hat