From: Alex Baretta <alex@barettadeit.com>
To: Markus Mottl <markus.mottl@gmail.com>
Cc: OCaml <caml-list@inria.fr>
Subject: Re: [Caml-list] C-threads & callbacks
Date: Thu, 20 Jan 2005 20:37:37 +0100 [thread overview]
Message-ID: <41F00881.60406@barettadeit.com> (raw)
In-Reply-To: <20050120182313.GB4919@quant3.janestcapital.quant>
Markus Mottl wrote:
> Hi,
>
> I'm currently interfacing a 3rd-party library that spawns threads
> to execute callbacks. I would like those callbacks to be handled by
> OCaml-code, but have run into some issues here.
>
Just a thought: how about running two different processes which share
relevant data through an mmapped file? The C-threads could communicate
with the Ocaml world through this shared memory segment. I am not sure
how much mileage you'll get out of this, but at least you would not have
to rewrite the runtime system...
Alex
--
*********************************************************************
http://www.barettadeit.com/
Baretta DE&IT
A division of Baretta SRL
tel. +39 02 370 111 55
fax. +39 02 370 111 54
Our technology:
The Application System/Xcaml (AS/Xcaml)
<http://www.asxcaml.org/>
The FreerP Project
<http://www.freerp.org/>
next prev parent reply other threads:[~2005-01-20 19:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-20 18:23 Markus Mottl
2005-01-20 18:58 ` [Caml-list] " Daniel Bünzli
2005-01-20 19:23 ` Markus Mottl
2005-01-20 19:37 ` Alex Baretta [this message]
2005-01-20 20:19 ` Markus Mottl
2005-01-21 1:16 ` SooHyoung Oh
2005-01-21 6:42 ` Alex Baretta
[not found] ` <200501211042.31749.vincenzo_mlRE.MOVE@yahoo.it>
2005-01-24 20:00 ` Markus Mottl
2005-01-30 10:19 ` [Caml-list] " Xavier Leroy
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=41F00881.60406@barettadeit.com \
--to=alex@barettadeit.com \
--cc=caml-list@inria.fr \
--cc=markus.mottl@gmail.com \
/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