previous up next
Go backward to node: Creating Nodes
Go up to 4.2 Constructing the Network
RISC-Linz logo

link: Linking Nodes

link(n1, n2)
  Node n1
  Node n2
link(n1, n2, s)
  Node n1
  Node n2
  Selector s

The first function creates a uni-directional point-to-point channel from n1 to n2 whose messages are delivered using the default selector. The set of output channels out of n1 is extended by one element representing the sender side of the channel; likewise the set of input channels in of n2 is extended by one element representing the corresponding receiver side.

The second function behaves like the first one except for the fact that selector s is used for the delivery of messages from this channel.


Maintainer: Wolfgang Schreiner
Last Modification: November 14, 1997

previous up next