
308 CHAPTER 6 Processes and Operating Systems
This solution allows us to execute processes at rates that are simple multiples of
each other. However, when the rates aren’t related by a simple ratio, the counting
process becomes more complex and more likely to contain bugs.
We have developed somewhat more reliable code, but this programming style is
still limited in capability and prone to bugs. To improve both the capabilities and
reliability of our systems, we need to invent the RTOS.
6.2 PREEMPTIVE REAL-TIME OPERATING SYSTEMS
A RTOS executes processes based upon timing constraints provided by the system
designer. The most reliable way to meet timing ...