From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA15260 for caml-red; Tue, 28 Nov 2000 11:31:08 +0100 (MET) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA12643 for ; Mon, 27 Nov 2000 14:06:49 +0100 (MET) Received: from mistral.univ-bpclermont.fr (mistral.univ-bpclermont.fr [193.54.50.10]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id eARD6m920958 for ; Mon, 27 Nov 2000 14:06:48 +0100 (MET) Received: (from jserot@localhost) by mistral.univ-bpclermont.fr (8.8.6 (PHNE_17135)/8.8.6) id OAA19853; Mon, 27 Nov 2000 14:06:43 +0100 (MET) From: Jocelyn Serot MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14882.23649.834222.868215@mistral.univ-bpclermont.fr> Date: Mon, 27 Nov 2000 14:06:41 +0100 (MET) To: caml-list@inria.fr Subject: Marshaling of custom blocks and threads X-Mailer: VM 6.75 under 20.4 "Emerald" XEmacs Lucid Sender: weis@pauillac.inria.fr 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