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
[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: 2007-09-20 (08:46)
From: Zheng Li <li@p...>
Subject: Re: Can coThreads be used for message passing architecture?

Hi Jon,

Jon Harrop <> 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: is the module containing common computation functions, and are two different parallel engines. There's nothing new in this
example, it's traditional Thread and Event, but running on process.

Zheng Li