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 VAA28493; Sun, 24 Nov 2002 21:02:20 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA28298 for caml-list@pauillac.inria.fr; Sun, 24 Nov 2002 21:02:19 +0100 (MET) 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 SAA25228 for ; Sun, 24 Nov 2002 18:18:38 +0100 (MET) Received: from kruuna.Helsinki.FI (kruuna.helsinki.fi [128.214.205.14]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id gAOHIbX25969 for ; Sun, 24 Nov 2002 18:18:37 +0100 (MET) Received: (from lealanko@localhost) by kruuna.Helsinki.FI (8.11.6/8.10.1) id gAOHIXI20712; Sun, 24 Nov 2002 19:18:33 +0200 (EET) Date: Sun, 24 Nov 2002 19:18:31 +0200 From: Lauri Alanko To: caml-list@inria.fr Subject: Re: [Caml-list] Why systhreads? Message-ID: <20021124191830.A20655@kruuna.Helsinki.FI> References: <20021123090806.GA633@la.iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from vsl@ontil.ihep.su on Sun, Nov 24, 2002 at 08:14:50PM +0300 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sun, Nov 24, 2002 at 08:14:50PM +0300, Vitaly Lugovsky wrote: > How will you manage SMP scheduling then? May be, smthng like OpenMP will > be nice, but it's not so generic as just native threads. Unless I have _very_ serious misconceptions, ocaml's threads _always_ run in a strictly serialized order, since they share a common heap and it'd be horrendous to lock the heap at every allocation. So using systhreads does _not_ buy us any parallelization with SMP. Lauri Alanko la@iki.fi ------------------- 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