Practical Statecharts in C/C++: Quantum Programming for Embedded Systems

The Golden Gate Bridge was built to withstand gales and strong currents, eleven workers died during the construction completed in May 1937 over 100,000 cars cross over it every day
San Francisco Tourist Guide
In the last two chapters, I dragged you through the internal workings of the Quantum Framework (QF). The way the QF is coded internally resembles the construction of a bridge over turbulent waters, and at times, it is like balancing on the edge of a cliff without a safety net. Virtually every line of code, as with every step on a tightrope, poses risks. Are all possible scenarios of preemptions taken into account? Are all sensitive code fragments protected with critical sections? Are the critical sections short enough? Are priority inversions ruled out? Is the framework code watertight? Well, I sure hope so, [1] but this is neither productive nor the fun way of developing software: it's hard, it's slow, it's risky it's the conventional approach to multithreaded programming. However, the struggle is over. The bridge is now open for traffic, so everybody can cross it quickly and comfortably, without taking much risk.
The QF offers you a faster, safer, and more reliable way of developing concurrent software. A QF-based application has no need to fiddle directly with critical sections, semaphores, and other such mechanisms. You can program without the constant fear of race conditions, deadlocks, starvation, priority inversions, and other perils inherent to traditional concurrent programming.