From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id AAA02887; Mon, 25 Nov 2002 00:14:41 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA02640 for ; Mon, 25 Nov 2002 00:14:40 +0100 (MET) Received: from mg.ihep.su (mg.ihep.su [194.190.161.38]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id gAONEd123009 for ; Mon, 25 Nov 2002 00:14:39 +0100 (MET) Received: by mg.ihep.su (Postfix, from userid 65436) id 848E5B5218; Mon, 25 Nov 2002 02:14:37 +0300 (MSK) Received: from ontil.ihep.su (ontil.ihep.su [194.190.161.63]) by mg.ihep.su (Postfix) with ESMTP id 61E37B51EC; Mon, 25 Nov 2002 02:14:36 +0300 (MSK) Received: from localhost (vsl@localhost) by ontil.ihep.su (8.11.6/8.11.6) with ESMTP id gAONEXs01313; Mon, 25 Nov 2002 02:14:33 +0300 Date: Mon, 25 Nov 2002 02:14:33 +0300 (MSK) From: Vitaly Lugovsky To: Dmitry Bely Cc: Subject: Re: [Caml-list] Why systhreads? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sun, 24 Nov 2002, Dmitry Bely wrote: > >> A simple, fundamental question: why is native-code threading done using > >> system threads? Why isn't pure user-level scheduling used as with > >> bytecode? > > > > How will you manage SMP scheduling then? > > AFAIK Ocaml program cannot utilise SMP even with the native threads (due to > the single master lock). I tried OCaml in a non memory-consuming numerical applications on SMP. Seems to work well enough (100% load of all the processors). ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners