IPC@CHIP® RTOS-PPC – API Documentation
This pair of API allow a program to publish data for use by other programs. However, unlike the Message Exchange facilities, no task synchronization is provided here. Only interprocess communication is provided.
When a program wants to communicate with one other program, a Message Exchange could have been used to easily accomplish this. When one program wants to make information available to an unspecified number of client programs, the Message Exchange mechanism becomes less attractive. The program providing the information must keep pumping messages into the Message Exchange, one message for each new client that may come along.
The mechanism provided by these data publication API allow a program to broadcast its data to what ever number of programs care to access the published data.
For visibility, the MEM console command lists entries in this global data registry by name.
|const void *||RTX_GetPublication (const char *nameTag)|
|Access data published by another program. |
|RTX_EC||RTX_Publish (const void *data, const char *nameTag)|
|Publish global data so other programs can access it. |