From: Dmitry Grebeniuk <gdsfh1@gmail.com>
To: Christophe Raffalli <caml-list@inria.fr>
Subject: Re: [Caml-list] OCaml release 4.02.0+beta1
Date: Mon, 26 May 2014 00:39:58 +0300 [thread overview]
Message-ID: <CAPi0vKUKmkH29K_6mh3UV82v--94Pv3=_=dogU=a+wt9vBH8SQ@mail.gmail.com> (raw)
In-Reply-To: <20140525203436.GA24252@delli7.univ-savoie.fr>
> It is painfull with parmap that I modified to handle exception ... without success.
I'm working on parallel stuff in OCaml too (but in a
more erlang-way than parmap), so I decided to use
exceptions for inter-process messages, and
serialize them as strings to pass them to other
processes:
- https://bitbucket.org/gds/parvel/src/17030/src/parvel.ml#cl-126
- https://bitbucket.org/gds/parvel/src/17030/src/parvel.ml#cl-274
It was daunting for me that exceptions are not
serializable, but everything that goes into / out of
executable is not safe, so I accepted strings
as error messages.
next prev parent reply other threads:[~2014-05-25 21:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-21 12:13 Damien Doligez
2014-05-21 12:47 ` Andreas Rossberg
2014-05-21 13:25 ` Kakadu
2014-05-22 11:13 ` Damien Doligez
2014-05-22 14:30 ` Jacques Garrigue
2014-05-25 20:34 ` Christophe Raffalli
2014-05-25 21:39 ` Dmitry Grebeniuk [this message]
2014-06-18 9:55 ` Anil Madhavapeddy
2014-06-28 7:58 ` Christophe Raffalli
2014-06-30 13:10 ` Leo White
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='CAPi0vKUKmkH29K_6mh3UV82v--94Pv3=_=dogU=a+wt9vBH8SQ@mail.gmail.com' \
--to=gdsfh1@gmail.com \
--cc=caml-list@inria.fr \
/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