That is, a channel guard is ready if and only if the process at the other end of the channel has output to it and this data has not yet been input by this process.
也就是说,只有在通道另一端的进程已经输出数据,而该数据还没有被进程输入的时候,警卫才就绪。
As its name indicates, FixedDelayInt passes data coming in through its input channel onto its output channel after a fixed delay — one second in the example code.
顾名思义,FixedDelayInt将来自其输入通道的值在固定延迟(在示例代码中,该延迟是1秒)之后发送到它的输出通道。
Deparaplex is a class that, converse to the paraplex class, de-multiplexes data from its single-input channel to an array of output channels.
Deparaplex是一个类,它和paraplex类相反,它把数据从单一输入通道分离到一组输出通道。
应用推荐