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.4 required=5.0 tests=SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 6E57DBC6B for ; Tue, 8 Jan 2008 20:31:49 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAFVeg0dA6aazkmdsb2JhbACCNY1mAQEBAQcEBCmSMYY/ X-IronPort-AV: E=Sophos;i="4.24,258,1196636400"; d="scan'208";a="21030395" Received: from py-out-1112.google.com ([64.233.166.179]) by mail4-smtp-sop.national.inria.fr with ESMTP; 08 Jan 2008 20:31:48 +0100 Received: by py-out-1112.google.com with SMTP id v53so4220254pyh.33 for ; Tue, 08 Jan 2008 11:31:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=9YKK/po2d10Ak9mFbJ2e9RNwPpbd4bihZkq0HtoFtE8=; b=AWVFKxy3Q3f4i20pbtt5SGxb3E1BQj0fx12515StfNwfAhvv6xmjVHeMX3pUNqHEmzeazeBKPWZVdUygpXsUioiBcxgCafEp9hiGOD4f92RfHaS6I856dafCKGZj11OSctZ2rQcuKqvVg6gUoH5oCGlRw0n7zVuBt1FHFdPN1rE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=h3eHtUPozuLQx9FHIqw51TwPf3ZPGmHJQijzlND6uSQfL5xX5bcVX9oZEae6iM6rXr8H0l95pUGia6GCMxI37prJocUIOLmBpyQKXMKbIhBG8ErchKyjWxwcmV2vEwSOGphqX4tVDwOrhb9wtu7Vegb613mDnwXTQVbpccfF/4M= Received: by 10.35.109.2 with SMTP id l2mr3531373pym.54.1199820707607; Tue, 08 Jan 2008 11:31:47 -0800 (PST) Received: by 10.35.103.8 with HTTP; Tue, 8 Jan 2008 11:31:47 -0800 (PST) Message-ID: <4d5f7bec0801081131u2ebfae8aia0b13564d13b03c6@mail.gmail.com> Date: Tue, 8 Jan 2008 14:31:47 -0500 From: "Daniel Andor" To: "Jon Harrop" Subject: Re: [Caml-list] Parallelism with threads Cc: caml-list@yquem.inria.fr In-Reply-To: <200801081456.49677.jon@ffconsultancy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200801081456.49677.jon@ffconsultancy.com> X-Spam: no; 0.00; parallelism:01 ocaml:01 openmp:01 xavier's:01 parallelism:01 beginner's:01 ocaml:01 bug:01 acb:98 15.:98 frog:98 threads:01 threads:01 beginners:01 wrote:01 On Jan 8, 2008 9:56 AM, Jon Harrop wrote: > > Is it possible to compute in parallel using separate threads rather than > separate processes in OCaml, i.e. having multiple threads sharing multiple > independent GCs? I often wonder about that myself. I'd like to do very simple OpenMP style multi-threaded processing. OcamlP3 is promising, although it is much more heavyweight. Does Xavier's "standard lecture on parallelism" still apply?: http://caml.inria.fr/pub/ml-archives/caml-list/2002/11/64c14acb90cb14bedb2cacb73338fb15.en.html D. > > I'm asking because it looks as though OpenGL contexts can be shared between > threads but not between processes. > > -- > Dr Jon D Harrop, Flying Frog Consultancy Ltd. > http://www.ffconsultancy.com/products/?e > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >