retagged by
363 views
0 votes
0 votes

In which of the following situations can a deadlock occur?

  1.     Process requests all the required resources in the beginning.
  2.     Process requests resource only if it is holding no resource.
  3.     Process orders resources in increasing order of enumeration.
  4.     Resources are immediately allocated to process holding some resources.
retagged by

1 Answer

Best answer
2 votes
2 votes

In order to not satisfy Hold and Wait condition , 

we must guarantee that whenever a process requests a resource , it does NOT hold any other resources.

hence option D satisfies Hold and Wait condition necessary for deadlock occurrence.

selected by
Answer:

Related questions