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 10. Preemptive Run-to-Completion Kernel

Simplicity is the soul of efficiency.

—R. Austin Freeman (in The Eye of Osiris)

In Section 6.3.8 of Chapter 6 I mentioned a perfect match between the active object computing model and a super-simple, run-to-completion (RTC) preemptive kernel. In this chapter I describe such a kernel, called QK, which is part of the QP event-driven platform and is tightly integrated with the QF real-time framework.

I begin this chapter by enumerating good and bad reasons for choosing a preemptive kernel in the first place. I then follow with an introduction to RTC kernels. Next I describe the implementation of the QK preemptive kernel and how it integrates with the QF real-time framework. I then move on to the advanced ...

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