
Barrier |
ptolemy.domains.rendezvous.lib.Barrier |
This actor implements multiway rendezvous on all channels
of the input port, collects the tokens, and then performs
a multiway rendezvous on all channels of the output port,
sending the collected data. A token provided on an
input channel is sent to the corresponding output channel.
If there are fewer output channels than input channels, then
the corresponding input data are discarded.
If there are fewer input channels than output channels,
then the last input channel provides the token for the
remaining ones. If there are no input channels,
then an exception is thrown.
Author(s): Edward A. Lee
Version:$Id: Barrier.doc.html,v 1.1 2006/02/22 18:40:26 mangal Exp $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Red (cxh)
input
The input port, which is a multiport that can accept any data type.