From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 2D7FCBB81 for ; Sat, 13 Nov 2004 19:28:55 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id iADISs5o030720 for ; Sat, 13 Nov 2004 19:28:54 +0100 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 TAA11782 for ; Sat, 13 Nov 2004 19:28:54 +0100 (MET) Received: from smtp001.mail.ukl.yahoo.com (smtp001.mail.ukl.yahoo.com [217.12.11.32]) by concorde.inria.fr (8.13.0/8.13.0) with SMTP id iADISrPe030717 for ; Sat, 13 Nov 2004 19:28:54 +0100 Received: from unknown (HELO ?192.168.1.113?) (vincenzo?ml@82.49.166.43 with plain) by smtp001.mail.ukl.yahoo.com with SMTP; 13 Nov 2004 18:28:53 -0000 From: Vincenzo Ciancia To: caml-list@inria.fr Subject: Re: [Caml-list] Announce: alpha testing of ocamlfuse Date: Sat, 13 Nov 2004 19:30:45 +0100 User-Agent: KMail/1.7 References: <200411131711.36859.vincenzo_mlRE.MOVE@yahoo.it> <20041113163632.GB7138@swordfish> In-Reply-To: <20041113163632.GB7138@swordfish> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411131930.45582.vincenzo_mlRE.MOVE@yahoo.it> X-Miltered: at concorde with ID 41965266.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 41965265.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 wrote:01 mlfuse:01 mlfuse:01 ocaml:01 memcpy:01 strings:01 rewritten:02 string:03 string:03 latter:03 library:03 problem:05 implement:05 up-to-date:06 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: On Saturday 13 November 2004 17:36, Matt Gushee wrote: > I'm interested in this. First of all, what was wrong with the > existing mlfuse library? (I'm not saying there's nothing wrong with > it, I just don't know--hadn't tried it yet). It's not up-to-date (fuse is going towards its 2.1 release, while the existing mlfuse is for fuse 0.9), and it was not designed with multithreading in mind. If the latter was not true, I would not have rewritten it, however by now I must record a failure, since I did this all to get multithreading working and had no success :/ I am going to try to spot the problem this weekend - it's related to a previous recent post of mine on this list. Apart from this, a question to the list: to implement the read and write operations I am constrained to string copying. Is there a way to share a string with C in ocaml or should I roll my own "cstring" type and use that, copying from/to strings using memcpy when necessary? Bye Vincenzo -- First they ignore you, then they laugh at you, then they fight you, then you win. [Gandhi]