Operating System
- Operating System
- System without OS
- System with OS
- Services
- Single Tasking
- Multi Programming
- Multi Tasking
- Multi Threading
- Multi Processing
- Multi User
- Multi Threading vs Multi Tasking
- Threads
- Advantages of Threads
- Types of Threads
- User Managed Threads vs Kernel Managed Threads
- Mapping of User Managed Threads to Kernel Managed Threads
- Program
- Process
- Single Tasking System(MS DOS)
- Multi Programming System
- Multi Tasking System
- Some modifications in above diagram
- Process Control Block(PCB)
- Process Scheduler
- Queues in OS(Process Scheduling Queues)
- Short Term Scheduler and Dispatcher
- When Short term Scheduler came into action
- Various Time Related to the Processes
- Goals of CPU Scheduling
- FCFS Algorithm
- FCFS With Overhead
- Shortest Job First(SJF)
- SRTF(Shortest Remaining Time First ) Algorithm
- Advantages of SRTF
- Priority Scheduling
- Priority Scheduling (Non Preemptive)
- Priority Scheduling (Preemptive)
- Round Robin Scheduling
- Highest Response Rate Next (HRRN)
- Multilevel Queue Schedulling Algorithm (MLQ)
- MultiLevel Feedback Queue Scheduling Algorithm(MLFQ)
-
Threads and Processes C code
- Process Synchronisation
- Example of Concurrent Execution
- Problems in Process Synchronisation
- Goals of Synchronisation Mechanism
- Mutual Exclusion
- Progress
- Bounded Waiting(Fair)
- Performance
- Overview of Synchronisation
- Disabling Interruption Implementation
- Locks (Mutex) Implementation
- Semphore Implementation
- Monitors Implementation
- Application of Synchronisation
- Locking Mechanism
- Semaphore
- Binary Semaphore
- Monitors
- Priority Inversion
- DeadLocks
- Necessary Conditions to Deadlock to happen
- Deadlock Handling
- Deadlock Prevention
- Deadlock Avoidance