IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


RTOS support for communication between programs


Detailed Description

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.

Functions

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.





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:37 2017 by Doxygen 1.6.1