Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
std:channels [2022/07/17 06:37] rajit created |
std:channels [2022/07/17 07:00] rajit |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Namespace std:: | ====== Namespace std:: | ||
+ | |||
+ | This contains standard names for commonly used asynchronous channels. A channel has two ends: the sender and receiver. In the wire-level handshake protocol, the end that initiates the communication is referred to an the //active// end of the channel; the other end is // | ||
+ | |||
+ | In the standard channel definitions, | ||
+ | |||
+ | <code act> | ||
+ | template< | ||
+ | defchan e1of <: chan(enum< | ||
+ | template< | ||
+ | defchan er1of <: chan(enum< | ||
+ | </ | ||
+ | The '' | ||
+ | |||
+ | <code act> | ||
+ | template< | ||
+ | defchan ev1of <: chan(enum< | ||
+ | template< | ||
+ | defchan evr1of <: chan(enum< | ||
+ | </ | ||
+ | This channel is similar to the '' | ||
+ | |||
+ | The following short-cuts are also available for commonly used channels. These are mostly provided for compatibility with older versions of ACT. | ||
+ | |||
+ | <code act> | ||
+ | defchan e1of1 <: e1of< | ||
+ | </ | ||
+ | The '' | ||
+ | |||
+ | <code act> | ||
+ | defchan e1of2 <: e1of< | ||
+ | defchan er1of2 <: e1of< | ||
+ | defchan ev1of2 <: e1of< | ||
+ | defchan erv1of2 <: e1of< | ||
+ | </ | ||
+ | The '' | ||
+ | |||
+ | The namespace also includes definitions for the same channel names but starting with '' | ||