Question:
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. Source: CoolInterview.com
a system is said to be in safe state if it can allocate resources to all the processes in some sequence , and still avoids deadlock Source: CoolInterview.com
Answered by: navneetgill | Date: 5/7/2010
| Contact navneetgill
Safe state basically describes the safe sequence of process such that allocation of resources in this order will not lead into deadlock situation. Source: CoolInterview.com
Answered by: a | Date: 5/24/2010
| Contact a
Safe state is also known as Undeadlock state. In safe state , resources are allocated to sequence order of process(job). so deadlock never occur in safe state. Source: CoolInterview.com
Answered by: thinagar | Date: 8/6/2010
| Contact thinagar
Safe state is also known as Undeadlock state. In safe state , resources are allocated to sequence order of process(job). so deadlock never occur in safe state. Source: CoolInterview.com
Answered by: thinagar | Date: 8/6/2010
| Contact thinagar
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|