INtime® 3.1 Software - tenAsys
INtime® 3.1 Software - tenAsys
INtime® 3.1 Software - tenAsys
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
INtime <strong>3.1</strong> <strong>Software</strong><br />
Ports<br />
A port is the object which allows access to the features provided by an INtime service.<br />
A process that uses a port object can send messages through the port to the INtime<br />
service, or can receive messages through the port from the service. Other operations<br />
possible on ports include:<br />
• Attach a heap object to the port for use by the service to store received messages.<br />
• Link ports to a sink port, allowing a single thread to service multiple ports.<br />
Services<br />
Heaps<br />
An INtime service is an INtime real-time application (RTA) which provides access to<br />
one or more interfaces. Each interface is associated with a service descriptor. The<br />
interface generates events which are handled by the service. A process which uses a<br />
service creates a port for access to that service. A service may support more than one<br />
port and more than one user process may use a given port. A user process<br />
communicates with the service by sending and receiving messages via the port.<br />
A heap is an INtime memory object that manages the chunk of dynamic memory<br />
allocated to it. A heap can be used by multiple processes that need to share large<br />
amounts of information. For instance, a heap can be associated with a port. Data<br />
placed in memory obtained from the heap by threads in one process (the thread using<br />
a port to communicate with an INtime service) can be manipulated by threads in<br />
another process (thread within the service accessing data passed through the port to<br />
the service).<br />
38