Version française
Home     About     Download     Resources     Contact us    
Browse thread
Shared memory parallel application: kernel threads
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Hugo Ferreira <hmf@i...>
Subject: Re: [Caml-list] Re: Shared memory parallel application: kernel threads
Sylvain Le Gall wrote:
> On 12-03-2010, Hugo Ferreira <hmf@inescporto.pt> wrote:
>> Hello,
>>
>> I have opted to use "kernel-level threads" that allow use
>> of the (multi-core) processors but still allow "easy"
>> access to shared memory".
>>
>> I have done a cursory look at:
>> - Ocaml.Threads
>> - Ocaml.Unix (LinuxThreads)
>> - coThreads
>> - Ocamlnet2/3 (netshm, netcamlbox)
>> (An eThreads library exists in the forge but I did not examine this)
>>
> 
> I think you should also have a look at ocaml/mpi for communication:
> http://forge.ocamlcore.org/projects/ocamlmpi/
> and ancient for accessing read-only memory:
> http://merjis.com/developers/ancient
> 
> MPI can work on a single computer to take advantage of multi-core
> through multi-processus.
> 

Indeed. I did not list these because I was specifically looking for
a share memory solution amongst threads. Seeing as I am forced to use
processes ancient is worth considering.

Thanks,
Hugo F.

> Regards,
> Sylvain Le Gall
> 
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>