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

Foil 46 TCE -- Implementation -- 19:tce_chn_send

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

Similarly to ports, a channel can be passed in a message to another process. The process that posts this operation, however, will loose its access to that channel (channel can link only two threads).
There are only three basic calls which operate on a channel:
  • tce_chn_send
  • tce_chn_rcv
  • tce_chn_set
tce_chn_snd -- sends a message,
  • if required a sending thread will be blocked until the operation completes
...
blen = tce_chn_snd(Channels[0],buffer,len,FMT_Int);
...


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