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
[Caml-list] Port/Streams-Channels?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-02-13 (21:53)
From: Frank Rehberger <Frank.Rehberger@w...>
Subject: [Caml-list] Port/Streams-Channels?

I am  a newby at CAML, looking for language features for
inter-thread/process communication as I know them from Mozart-OZ. 
In Mozart-OZ one can define a Port/Stream with expression 
{NewPort ?Stream ?Prt}

Reading a stream means iterating a list like

for M in Stream do {Foo M} end

Sending along the stream is done by {Send Prt Mesg} that appends a
message with constant costs at the end of the stream/list. 

* How do you realize Streams between threads for data-exchange in CAML?

* Can I use those Streams for inter-process communication on the same
machine or network-wide?

Regards, Frank
 Frank.Rehberger at acm.org
 The Twelve Networking Truths 
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr