HELP! * BLUE=global GREY=local Global HTML version of Foils prepared July 6,1995

Foil 54 TCE -- Implementation -- 26:Changing Channel Characteristics

From Threads with TCE in detail CPS600 Spring Semester95 -- April 1995. by Janusz Niemiec and Geoffrey Fox * See also color IMAGE

To change channel characteristics, both communicating threads have to call tce_chn_set with identical parameters:
  • ...
  • res = tce_chn_set(Channel,TCE_CHN_SYNC,1);
  • ...
  • res = tce_chn_set(Channel,TCE_CHN_REG,1);
  • ...
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.
  • ...
  • res = tce_chn_set(Channel,TCE_CHN_TAG,13);
  • ...


Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Feb 18 1997