Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Frank Rehberger <Frank.Rehberger@w...>
Subject: [Caml-list] Port/Streams-Channels?
Hello,

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 
 http://www.ietf.org/rfc/rfc1925.txt?number=1925
-------------------------------------------------
-------------------
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