Professional Documents
Culture Documents
Operating System
The function of the operating system is to present the user
with the equivalent of an extended machine or virtual
machine that is easier to program than the underlying
hardware. The job of the operating system is to provide for
an orderly and controlled allocation of resources.
A S Tanenbaum and A S Woodhull
1
7/31/2022
User friendliness
• Execution environment
• Error detection and handling
• Protection and security
• Fault tolerance and failure recovery
3
Operating System
• Design Approaches
• Separation of policies and mechanisms
(What and How)
2
7/31/2022
Example
P1: A = 0; P2: B = 0;
A = 1; B = 1;
L1: if (B == 1) goto L1; L2: if (A == 1) goto L2;
< critical sec> <critical sec>
A = 0; B = 0;
3
7/31/2022
Syllabus
Books