-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

The Complete Edition - Software Engineering for Real-Time Systems
By :

Up to this point, our example systems have consisted of separate, independent tasks; these perform their functions without any interaction with other tasks. In reality, this situation is rarely met in practical systems; tasks almost always influence each other in some way or means. Let's look at the most common reason for this: task intercommunication, as shown in Figure 5.18:
Figure 5.18: Sharing resources in a multitasking system – example 1
Assume that the design requirement of this pressure control system calls for the control and alarming tasks to exchange and share information. To support such operations, we now include a data store, one that can be written to and read from. Stores like this are frequently formed as records (structs) and/or data arrays, being located in RAM.
Sharing resources in a multitasking system is not, in itself, a problem. What...
Change the font size
Change margin width
Change background colour