Version française
Home     About     Download     Resources     Contact us    
Browse thread
[ANN] coThreads 0.10
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Zheng Li <li@p...>
Subject: Re: Can coThreads be used for message passing architecture?

Hi Jon,

Jon Harrop <jon@ffconsultancy.com> writes:
> On Wednesday 19 September 2007 12:13:46 Erik de Castro Lopo wrote:
>> I can however report that on a single machine with multiple cores,
>> message passing between CoThreads using the Event module is an absolute
>> pleasure to use.
> Carry on... :-)
> Any examples?

There is a replanted version of your ray tracer in the /example directory:
ray.ml is the module containing common computation functions, ray_col.ml and
ray_nocol.ml are two different parallel engines. There's nothing new in this
example, it's traditional Thread and Event, but running on process.

-- 
Zheng Li
http://www.pps.jussieu.fr/~li