Embedded software developers in a wide range of industries independently discover patterns for building concurrent software that is safer, more flexible and easier to understand than “naked” threads and the myriad of blocking mechanisms of a traditional Real-Time Operating System (RTOS).
The following sections explain the key concepts related to this increasingly popular, reactive architecture, and specifically how they apply to real-time embedded systems, which are targeted by the Quantum Leaps frameworks and tools.
Most embedded systems are traditionally programmed in a sequential manner, where the expected sequence of events is hard-coded.Recommended video playlist “RTOS”:https://www.youtube.com/embed/TEq3-p0GWGI Traditional Approach: Sequential Programming A sequential program explicitly waits in-line, for the expected events
Active Objects combine event-driven programming with multithreading. They naturally implement and automatically enforce the best practices of concurrent programming.Recommended video “Beyond the RTOS – Part 2”:https://www.youtube.com/embed/U1pHSkftzhwRecommended video playlist “Object-Oriented Programming”:https://www.youtube.com/embed/dSLodtKuung Best Practices of Concurrent Programming