[ocaml-ctypes] Lifecycle of a callback?
Jeremy Yallop
yallop at gmail.com
Tue Oct 21 15:12:33 BST 2014
On 21 October 2014 14:14, Daniel Bünzli <daniel.buenzli at erratique.ch> wrote:
> This doesn't answer you question but just another thing to think about, if the callbacks may occur on another thread you should also be careful on acquiring OCaml's runtime lock see for example here:
>
> https://github.com/dbuenzli/tsdl/issues/13
>
> I don't know if the support Jeremy mentions in that discussion was eventually merged in a published version since ctypes's release notes are a little bit hard to track down.
It's in the master branch, but not in a release yet. It should be
included in 0.4.
More information about the Ctypes
mailing list