Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Benedikt Grundmann <benedikt@c...>
Subject: Re: [Caml-list] Faking concurrency using Unix forks and pipes
Hello,

I'm also doing an OSP project on concurrency.  In my case there will
actually be a new api which will offer erlang style concurrency (e.g.
asynchroneous messages).  (Also implemented using UNIX & TCP sockets).

Cheers,

Bene

PS: I already have some code that does the local message passing, but
it is all in a flux and I consider that a prototype, so hold your
breath until August.


2007/5/30, Jonathan Bryant <jtbryant@valdosta.edu>:
>
> On May 29, 2007, at 11:42 PM, Jon Harrop wrote:
>
> >
> > Has anyone implemented a parallel map function in OCaml using Unix
> > forks,
> > pipes and maybe marshalling?
>
> I've implemented a toy version of this, so I can say it does work and
> is not too hard, although I don't still have the code.  My OSP
> project is a concurrency library that would make implementing this
> pretty trivial though: it extends the Event module to work over UNIX
> & TCP sockets and to have a common interface for thread creation /
> forking / remote process creation.
>
> >
> > This seems like an easy way to get concurrency in OCaml...
>
> It would also be nice to have a Apply in Parallel / Parallel List
> Comprehension syntax for it a la NESL (http://www.cs.cmu.edu/~scandal/
> nesl.html).
>
> >
> > --
> > Dr Jon D Harrop, Flying Frog Consultancy Ltd.
> > OCaml for Scientists
> > http://www.ffconsultancy.com/products/ocaml_for_scientists/?e
> >
> > _______________________________________________
> > 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
>
> _______________________________________________
> 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
>


-- 
Calvin: I try to make everyone's day a little more
surreal.

(From Calvin & Hobbes)