Exercise

Set - 2

Question 11 :

What is a Safe State and what is its use in deadlock avoidance?

Answer :

When a process requests an available resource, system must decide if immediate allocation leaves the system in a safe state. System is in safe state if there exists a safe sequence of all processes. Deadlock Avoidance: ensure that a system will never enter an unsafe state.


Question 12 :

What is a Real-Time System?

Answer :

A real time process is a process that must respond to the events within a certain time period. A real time operating system is an operating system that can run real time processes successfully