Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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?

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
 The Twelve Networking Truths
Bug reports:  FAQ:
To unsubscribe, mail  Archives: