previous up next
Go up to 5.3 Basic Communication
Go forward to receive: Receiving a Mesage
RISC-Linz logo

send: Sending a Message

c.send(m)
  OutChannel c
  Message m
s.send(m)
  OutChannelSet s
  Message m

The first variant sends a message m to the output channel c; if the receiver node linked to c is blocked, this node is released.

The second variant sends m to all output channels in set s.

In both variants, the sender node is not blocked even if the receiver node linked to the corresponding channel is not ready to receive m. Consequently, c may hold an arbitrary number of messages.


Maintainer: Wolfgang Schreiner
Last Modification: October 1, 1998

previous up next