What is Operating System?
An Operating System (OS) is system software that acts as an interface between user and
hardware. It manages resources like CPU, memory, and I/O devices. Example: Windows, Linux.
Critical Section Problem
A critical section is a part of program where shared resources are accessed. It must ensure mutual
exclusion, progress, and bounded waiting. Solutions include Peterson’s algorithm and semaphores.
Semaphore
Semaphore is a synchronization tool used to control access to shared resources. Types: Binary
semaphore and Counting semaphore. Operations: wait() and signal().
Deadlock
Deadlock is a situation where processes wait indefinitely. Conditions: Mutual exclusion, Hold and
wait, No preemption, Circular wait.
RTOS
Real-Time Operating System ensures tasks are completed within deadlines. Types: Hard RTOS
and Soft RTOS. Used in embedded systems.
RTOS Scheduling
Scheduling algorithms include Rate Monotonic Scheduling (RMS) and Earliest Deadline First
(EDF). They ensure tasks meet deadlines.
Applications of RTOS
Used in embedded systems, image processing, VoIP, and control systems like robotics and
automotive.