Operating System (OS) Question:

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

Operating System (OS) Interview Question
Operating System (OS) Interview Question

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.


Previous QuestionNext Question
What is the cache memory?What is the Real-Time System?