From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,SPF_FAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 92C55BC69 for ; Sun, 22 Apr 2007 19:31:52 +0200 (CEST) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l3MHVptr007686 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Sun, 22 Apr 2007 19:31:52 +0200 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hffuc-0002MS-HZ for caml-list@inria.fr; Sun, 22 Apr 2007 19:31:46 +0200 Received: from ivr94-8-88-162-26-239.fbx.proxad.net ([88.162.26.239]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Apr 2007 19:31:46 +0200 Received: from li by ivr94-8-88-162-26-239.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Apr 2007 19:31:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Zheng Li Subject: Re: Multiprocessor support in OCaml Date: Sun, 22 Apr 2007 19:32:04 +0200 Message-ID: <87vefo71t7.fsf@pps.jussieu.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ivr94-8-88-162-26-239.fbx.proxad.net User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) Cancel-Lock: sha1:gczcEzLhbbuqIgZaEBsHnJqwIts= Sender: news X-Miltered: at discorde with ID 462B9C07.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 speedup:01 ocaml:01 threads:01 sml:01 writes:01 pps:01 pps:01 jussieu:01 jussieu:01 supported:01 modules:02 back-end:02 back-end:02 programming:03 Hi, I'm working on a process back-end of STM library. It's now supported by Google SOC and expected to release after the summer (and maybe earlier). With it, you will be able to do shared-memory (supposing that's the style your want) parallel programming based on processes, which in turn gives you speedup. If interested, you can have a taste first through the (vm)thread back-end currently available (check my homepage below), though it won't really speed up your program because of the well-known global lock of OCaml threads. "Jason Ganetsky" writes: > Hi all, > I'm new to this list, and new to OCaml (although, have some experience with > SML).Anyway, I have recently written an OCaml thread pool implementation, on > top of the Thread and Event modules. I did this for the purpose of exploiting > an SMP system I have, and was a disappointed to read today that OCaml doesn't > support multiprocessor systems. > > -Jason -- Zheng Li http://www.pps.jussieu.fr/~li