O'Reilly logo

Practical UML Statecharts in C/C++, 2nd Edition by CRC Press

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Real-Time Framework Implementation

Let us change our traditional attitude to the construction of programs. Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to human beings what we want a computer to do.

— Donald E. Knuth

In this chapter I describe the implementation of a lightweight real-time framework called QF. As shown in Figure 7.1, QF is the central component of the QP event-driven platform, which also includes the QEP hierarchical event processor (described in Part I of this book) as well as the preemptive run-to-completion (RTC) kernel (QK) and the software tracing instrumentation (QS).

Figure 7.1. QP Components (in gray) and their relationship to the target hardware, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required