OS Theory
OS Theory
OS Theory
INFORMATION TECHNOLOGY
Operating
System
Comprehensive Theory
with Solved Examples and Practice Questions
Publications
www.madeeasypublications.org
Publications
EDITIONS
Third Edition : 2017
© Copyright by MADE EASY Publications Pvt. Ltd.
Fourth Edition : 2018
All rights are reserved. No part of this publication may be
Fifth Edition : 2019
reproduced, stored in or introduced into a retrieval system,
Sixth Edition : 2020
or transmitted in any form or by any means (electronic,
Seventh Edition : 2021
mechanical, photo-copying, recording or otherwise),
Eighth Edition : 2022
without the prior written permission of the above mentioned
publisher of this book. Ninth Edition : 2023
4.10 Semaphores................................................................................88
CHAPTER 2
4.11 Mutex............................................................................................93
Processes and Threads................................. 17-36
4.12 Classical Problems of Synchronization with
2.1 Process..........................................................................................17
Semaphore Solution................................................................98
2.2 Process State Models...............................................................19
2.3 Scheduling..................................................................................24 4.13 Programming Language Solution: Monitors............... 110
2.4 Thread...........................................................................................26 Student Assignments............................................................. 113
2.5 Process Image Vs Multi Thread Process Image..............29
2.6 Co-operating Processes (Inter Process
Communication).......................................................................30 CHAPTER 5
Student Assignments................................................................32
Concurrency and Deadlock.................... 122-159
5.1 Concurrency............................................................................ 122
CHAPTER 3
5.2 Precedence Graph................................................................. 124
CPU Scheduling .............................................37-71 5.3 The Fork and Join Constructs............................................ 126
3.1 Introduction...............................................................................37
5.4 Parbegin/Parend Concurrent Statement...................... 130
3.2 Goals of CPU Scheduling.......................................................37
5.5 Deadlock................................................................................... 135
3.3 Kinds of CPU Scheduling Algorithms................................38
3.4 Scheduling Algorithms...........................................................38 5.6 Concepts of Deadlock.......................................................... 139
iii
Operating System
CHAPTER 6 CHAPTER 8
iv