From: Paolo Donadeo <p.donadeo@gmail.com>
To: OCaml mailing list <caml-list@yquem.inria.fr>,
OCaml-Lua devel ML <ocaml-lua-devel@lists.forge.ocamlcore.org>
Subject: Re: [Caml-list] C binding and GC interaction: storing values outside the heap
Date: Thu, 9 Sep 2010 10:16:06 +0200 [thread overview]
Message-ID: <AANLkTinuo7grJuUpCi=vovd5BEm8RGG4ei36eEqsN-V5@mail.gmail.com> (raw)
In-Reply-To: <8DF23B0B-D2D5-45CE-99B1-37EA0C8BD4C6@inria.fr>
On Wed, Sep 8, 2010 at 00:53, Damien Doligez wrote:
> Drawback: the weak hash table has to be global.
In the beginning I had a global data structure (not a weak hash table,
but a simple linked list on the C side) and I removed it because it
requires an extra effort to recover thread safety for the binding.
--
Paolo
next prev parent reply other threads:[~2010-09-09 8:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-07 20:58 Paolo Donadeo
2010-09-07 21:12 ` [Caml-list] " Stéphane Glondu
2010-09-07 21:23 ` Paolo Donadeo
2010-09-07 21:48 ` Stéphane Glondu
2010-09-09 8:11 ` Paolo Donadeo
2010-09-07 22:53 ` Damien Doligez
2010-09-09 8:16 ` Paolo Donadeo [this message]
2010-09-08 5:06 ` Romain Beauxis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTinuo7grJuUpCi=vovd5BEm8RGG4ei36eEqsN-V5@mail.gmail.com' \
--to=p.donadeo@gmail.com \
--cc=caml-list@yquem.inria.fr \
--cc=ocaml-lua-devel@lists.forge.ocamlcore.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox