Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Embedded Systems Engineering Curriculum
·
Module 7
RTOS Fundamentals: Scheduling and Concurrency
1
Scheduling Models in Embedded Systems
Compare preemptive, cooperative, and round-robin scheduling models and their suitability for different embedded applications.
2
Rate Monotonic Scheduling (RMS) Schedulability Analysis
Perform Rate Monotonic Scheduling (RMS) schedulability analysis for a given set of periodic tasks.
3
Context Switching: Mechanics and Stack Management
Explain the mechanics of a context switch, detailing what processor state is saved and how the stack frame is managed.
4
Synchronization Primitives: Mutexes, Semaphores, and Spinlocks
Differentiate between a mutex, semaphore (binary/counting), and spinlock, and select the appropriate primitive for a given synchronization problem.
5
Semaphore-Protected Producer-Consumer Problem
Solve the classic producer-consumer problem using a shared buffer protected by semaphores.
6
Deadlock: Conditions, Prevention, and Avoidance
Identify the four necessary conditions for deadlock and apply prevention or avoidance strategies in a multitasking environment.
7
Priority Inversion: Scenarios and Solutions (PIP vs. PCP)
Explain priority inversion with a concrete scenario and compare Priority Inheritance Protocol (PIP) vs. Priority Ceiling Protocol (PCP) as solutions.
8
Deferred Interrupt Handling with RTOS Tasks
Implement deferred interrupt handling in an RTOS by signaling a high-priority task from an ISR.
Previous module
Modern Embedded C++
Next module
Linux Kernel Concurrency and Memory