English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Memory leak with ocaml 3.09 but not with ocaml <= 3.08.1
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-11-24 (14:24)
From: Florian Weimer <fw@d...>
Subject: Re: [Caml-list] Memory leak with ocaml 3.09 but not with ocaml <= 3.08.1
* Vincenzo Ciancia:

> My C callbacks, which then call back ocaml, look like this:

>   leave_blocking_section();

>   vpath = copy_string(path);

I don't think it's allowed to invoke the Caml allocator while not
holding the run-time library lock.