From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id BEEA1BC57 for ; Fri, 8 Oct 2010 15:37:45 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsYBAJa7rkzRVaE2kGdsb2JhbACiNwgVAQEBAQkJDAcRAx+gI4lJgheGai6IVgEBAwWFQgSFCYU3 X-IronPort-AV: E=Sophos;i="4.57,302,1283724000"; d="scan'208";a="72083600" Received: from mail-fx0-f54.google.com ([209.85.161.54]) by mail2-smtp-roc.national.inria.fr with ESMTP; 08 Oct 2010 15:37:45 +0200 Received: by fxm4 with SMTP id 4so425370fxm.27 for ; Fri, 08 Oct 2010 06:37:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=V6mf09ZpcLOnWFStx8e6uFWxfillu51ZaP5hFtZpf/U=; b=v2xgOH88AetvIEcoiFskP3BuAeJEWWt0Nz0XijDiWss9TiT7/GOd9lf/jTRnXdKCVg 8rG3TVwSxHGh8KeUgdbON30dyQTsAmFa4iaNa4hbTlBKWU8MwDptb7dh6LAJ1hVABH83 a9Q9Qg9BF2guQG1IxrJSHw1hKmeNMd4b+t2jA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=auqrQPHwHg5Wp/pSAjUFIUJCuwwNFUFToyyacwBQe+iNhE+1O445t11E1G7N0QjkFH kl6PWMSu9JOBq0mWUpW2k3atGMODwXutd4XQtFYLeDIFSJvwROad9jOt6VabqFl2HPGw J6c8zjigpfwVY61w1ztv8HYEcj+4oG4+L1Rsg= Received: by 10.239.148.202 with SMTP id g10mr150911hbb.24.1286545065106; Fri, 08 Oct 2010 06:37:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.239.193.136 with HTTP; Fri, 8 Oct 2010 06:37:24 -0700 (PDT) From: Jean Krivine Date: Fri, 8 Oct 2010 15:37:24 +0200 Message-ID: Subject: Marshalling question To: caml users Content-Type: text/plain; charset=ISO-8859-1 X-Spam: no; 0.00; krivine:01 krivine:01 marshalling:01 ocaml:01 arrays:01 hashtbl:01 marshal:01 imperative:01 data:02 module:03 structure:07 rather:08 flag:09 question:13 question:13 Dear ocaml users, A simple question: is it safe to marshalize a data structure that contains imperative elements (like arrays or hashtbl) ? I found the documentation of the Marshal module rather obscure to me. In particular it is not clear whether I should use the No_sharing flag. Thank you! J