Communication operators concern threads belonging to different processes. Threads within the same address space should use global data structure, instead of sending messages (the last is still possible but less efficient). |
TCE provides only one mechanism for inter-process communication -- message passing. |
To send or receive messages, a communication object called channel has to be established. |
The channel can be set up, by presenting a pair of ports to the TCE kernel. When the two matching pairs are found, the channel will be constructed. |
One channel connects exclusively two processes. It is up to those processes to decide which their threads will be writing or/and reading to/from that channel. |