Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Why systhreads?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-11-24 (20:02)
From: Lauri Alanko <la@i...>
Subject: Re: [Caml-list] Why systhreads?
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
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: