Interview Questions

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

Operating System Interview Questions and Answers


(Continued from previous question...)

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

- 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.

(Continued on next question...)

Other Interview Questions