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: [ANN] coThreads 0.10
skaller <skaller@users.sourceforge.net> writes:
> On Mon, 2007-09-17 at 18:48 +0200, Zheng Li wrote:
>
>> * The process engine can give you real speedup on multi-core and
>>   multi-processor machines, the networker engine (todo) will give you both
>>   speedup and scalability. 
> I'm curious how this can be possible**.. is this only with the message
> passing model? 
> ** Since Ocaml can't multi-process and neither the compiler
> nor library are modified ..

Well, in order to have semantic consistency among different engines without
modifying standard OCaml itself, shard-memory style concurrency should only be
achieved through the STM module. It's documented in the pitfall pages: 

http://cothreads.sourceforge.net/doc/pitfall

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