6,684 views
10 votes
10 votes

In which of the following four necessary conditions for deadlock processes claim exclusive control of the resources they require?

  1. no preemption
  2. mutual exclusion
  3. circular wait
  4. hold and wait

3 Answers

Best answer
7 votes
7 votes
Answer is B
 
1. Mutual Exclusion Condition
The resources involved are non-shareable.
Explanation: At least one resource (thread) must be held in a non-shareable mode, that is, only one process at a time claims exclusive control of the resource. If another process requests that resource, the requesting process must be delayed until the resource has been released.

2. Hold and Wait Condition
Requesting process hold already, resources while waiting for requested resources.
Explanation: There must exist a process that is holding a resource already allocated to it while waiting for additional resource that are currently being held by other processes.

3. No-Preemptive Condition
Resources already allocated to a process cannot be preempted.
Explanation: Resources cannot be removed from the processes are used to completion or released voluntarily by the process holding it.
 
4. Circular Wait Condition
The processes in the system form a circular list or chain where each process in the list is waiting for a resource held by the next process in the list.
 
source- http://www.personal.kent.edu/~rmuhamma/OpSystems/Myos/deadlock.htm
selected by
1 votes
1 votes
Mutual exclusion .

Mutul Excusion::

 In this mode process will not share its presently active resourses which is used by it to other process.Other process can only use it if it find free of resourses.
Answer:

Related questions

1 votes
1 votes
2 answers
1