caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jocelyn Serot <jserot@lasmea.univ-bpclermont.fr>
To: caml-list@inria.fr
Subject: Marshaling of custom blocks and threads
Date: Mon, 27 Nov 2000 14:06:41 +0100 (MET)	[thread overview]
Message-ID: <14882.23649.834222.868215@mistral.univ-bpclermont.fr> (raw)

Hello,

Can s/o please confirm whether the module Marshal (and especially its
usage to serialize custom blocks) is thread-safe in Ocaml 3.0 ?
I remember reading sth about a pb with bytecode threads and marshaling
in a previous version of Ocaml but cannot determine surely whether
the pb has been fixed since.

The reason i ask follows :  i have a program with (bytecode) threads
exchanging data (float arrays)  with Marshal.to_string/ThreadUnix.write and
ThreadUnix.read/Marshal.from_string.
This program works ok for small data sets (typically less than 100
floats) but crashes when the array size increases.

Cheers,

Jocelyn

-- 
E-mail: Jocelyn.Serot@l_a_s_m_e_a.u_n_i_v-bpclermont.fr .....................
S-mail: LASMEA - UMR 6602 CNRS, Universite Blaise Pascal, 63177 Aubiere cedex
Tel: (33) 04 73.40.73.30 - Fax: (33) 04 73.40.72.62 .........................
.... http://wwwlasmea.univ-bpclermont.fr/Personnel/Jocelyn.Serot/Welcome.html
Valid e-mail: remove underscores (sorry, this is prevention against junk mail



             reply	other threads:[~2000-11-28 10:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-27 13:06 Jocelyn Serot [this message]
2000-11-28 10:58 ` Ken Wakita
2000-11-29  1:22   ` Gerd Stolpmann
2000-11-29 21:37     ` Mattias Waldau
2000-11-30 17:44 ` Xavier Leroy
2000-11-29 22:34 Manuel Fahndrich

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=14882.23649.834222.868215@mistral.univ-bpclermont.fr \
    --to=jserot@lasmea.univ-bpclermont.fr \
    --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;
as well as URLs for NNTP newsgroup(s).