Rtes09 - Rtos3
Rtes09 - Rtos3
RTES Introduction
Categories of the RTES
Properties & Components
Hardware
RTOS
Today’s topics
The timing behavior of the OS must be predictable. For all services provided
by the OS, the upper bound on the execution time must be known. Some
of these services include OS calls and interrupt handling.
The OS must manage the timing and scheduling, and the scheduler must
be aware of task deadlines.
The OS must be fast. For example, the overhead of context switch should
be short. A fast RTOS helps take care of soft real-time constraints of a system
as well as guarantees hard deadlines
RTOS Overview
RTOS Kernel
Priority Scheduling
EDF
RM
Preemption
Scheduling
Software Interrupts.
When a child process terminates, a signal is sent to the parent
Synchronous and asynchronous notifications
Waking a process after the WAIT state
Memory Violation
Mutex
Mutex is just simple locks obtained before entering its critical section and
then releasing it.
Since only one thread is in its critical section at any given time, there are no
race conditions, and data always remain consistent.
Semaphore
A binary semaphore acts similarly to a mutex, which is used in the case when a
resource can only be used by at most one task at any time.
Memory Sharing