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 ...