English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Faking concurrency using Unix forks and pipes
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-05-30 (07:02)
From: Oliver Bandel <oliver@f...>
Subject: Re: [Caml-list] Faking concurrency using Unix forks and pipes

On Wed, May 30, 2007 at 04:42:59AM +0100, Jon Harrop wrote:
> Has anyone implemented a parallel map function in OCaml using Unix forks, 
> pipes and maybe marshalling?

I have thought about such stuff, but ot implemented
(because there was no real need for it).

Since I found OCamlP3l, I'm not shure if implementing
such stuff would make sense, because using OCamlP3l
might be the right way.

  OCamlP3l: http://camlp3l.inria.fr/eng.htm

I didn't tried it so far.

If people already have done (or will do now),
I would be interested in feedback.


P.S.: Why did you  write "Faking concurrency"?
      If the processes are running on a multi-core/multi-processor
      machine, using processes can achieve paralellism.