Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

#21 Foreground-Background Architecture (“Superloop”)

50.4K views on YouTube

Introduction to the ubiquitous foreground-background architecture, also known as the “superloop” or main+interrupts. Apart from being interesting in its own right, foreground/background is the starting point for all embedded software architectures and, among others, is an important stepping stone to understanding a Real-Time Operating System (RTOS), which was perhaps the most requested subject for me to explain. So, you can view this lesson as a prerequisite for the upcoming lessons about the RTOS as well as other architectures.

——
Resources:

Companion web page for this video course:
https://www.state-machine.com/quickstart

GitHub repository for projects for this video course:
https://github.com/QuantumLeaps/modern-embedded-programming-course

Transcript of this lesson:
https://www.state-machine.com/course/lesson21.txt

Music credits:
The background music comes from:
https://www.bensound.com/royalty-free-music/track/straight