21.01.2015 Views

INtime® 3.1 Software - tenAsys

INtime® 3.1 Software - tenAsys

INtime® 3.1 Software - tenAsys

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4: About RT programming<br />

Figure 4-5. Resources in a process<br />

Process<br />

<br />

A<br />

B<br />

<br />

<br />

A group of related threads.<br />

The memory the threads need.<br />

An object directory where you can catalog thread resources.<br />

You decide what processes to include in your system. INtime software coordinates the<br />

use of resources within and between processes so independently-developed applications<br />

do not cause problems for each other.<br />

Multiprogramming simplifies adding new applications; you can modify your system<br />

by adding new processes (or removing old ones) without affecting other processes.<br />

Inter-thread coordination and communication<br />

INtime software exchange objects are mailboxes, semaphores, regions, and message<br />

ports. They enable asynchronous threads, which run in a random order, to coordinate<br />

and communicate with one another by:<br />

• Passing messages.<br />

• Synchronizing with each other.<br />

• Mutually excluding each other from resources.<br />

45

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!