Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Chris Hecker <checker@d...>
Subject: Re: [Caml-list] Why systhreads?

>I don't really know about windows (which is a pain to use ocaml on
>anyway) but on unix, you can choose at compile time to use either
>systhreads or ocamlthreads.

For bytecode or for native?  His question was about native.

On a related note, now that the first CPUs with HyperThreading are 
shipping, is there any plan to multithread the GC so caml programs can take 
advantage of HT?  I can understand why it was not a high priority to 
support real threads for multiprocessor machines when that was the only way 
to get parallelism with threads, but once HT is ubiquitous, it has the 
potential to make it worth the trouble to thread a regular application to 
increase performance.  I don't think this is a high priority now, because 
there's 0% penetration of HT right now, but hopefully there's some plan for 
the future.

I guess the question is, is a multithreaded GC an open research problem, or 
is there a known good solution and it just hasn't gotten to the top of the 
priority list yet?

Chris


-------------------
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