To change channel characteristics, both communicating threads have to call tce_chn_set with identical parameters:
|
tce_chn_set can be also used to specify a tag for the sending or receiving messages. This time, the participation of the other process is not needed. When a thread blocks on a channel the tag is being preserved, even when a different thread changes that tag in a meantime.
|