From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id C7424BCAF for ; Sat, 11 Jun 2005 09:46:20 +0200 (CEST) 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 j5B7kKtL022453 for ; Sat, 11 Jun 2005 09:46:20 +0200 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 JAA12654 for ; Sat, 11 Jun 2005 09:46:19 +0200 (MET DST) Received: from smtp.cegetel.net (mf00.sitadelle.com [212.94.174.79]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j5B7kJDv022450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sat, 11 Jun 2005 09:46:19 +0200 Received: from [192.168.144.129] (213-223-57-193.dti.cegetel.net [213.223.57.193]) by smtp.cegetel.net (Postfix) with ESMTP id D5F3B1A447B; Sat, 11 Jun 2005 09:46:18 +0200 (CEST) Message-ID: <42AA96CB.2050706@univ-savoie.fr> Date: Sat, 11 Jun 2005 09:46:19 +0200 From: Christophe Raffalli User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: fr, en MIME-Version: 1.0 To: Jonathan Bryant Cc: ocaml_beginners@yahoo.com, caml-list@inria.fr Subject: Re: [Caml-list] Threads References: <1118426167.17936.32.camel@chunky.valdosta.edu> In-Reply-To: <1118426167.17936.32.camel@chunky.valdosta.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Miltered: at concorde with ID 42AA96CC.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 42AA96CB.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; christophe:01 raffalli:01 raffalli:01 univ-savoie:01 caml-list:01 threads:01 threads:01 posix:01 mistaken:01 wrappers:01 runtime:01 caml-list:01 beginner's:01 ocaml:01 beginners:01 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.2 X-Spam-Level: Jonathan Bryant a écrit : >I'm confused. In the documentation on the threads library it says that >the threads implementation is shared time on only a single processor. >Is that for VM and system threads, or are the POSIX threads able to take >advantage of multiple processors? I would think they would be able to >because (unless I'm mistaken) they're just wrappers around the C system >calls... > > > No there is a global mutex for caml thread. The only thing you can do is have one Caml thread and many C threads running in the same time. This starts really to be an annoying limitation of the Caml runtime now that you can have easily two dual core processors in one machine ... (means four CPU) >--Jonathan > >_______________________________________________ >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 > >