1.

To ensure no preemption, if a process is holding some resources and requests another resource that cannot be immediately allocated to it ____________(a) then the process waits for the resources be allocated to it(b) the process keeps sending requests until the resource is allocated to it(c) the process resumes execution without the resource being allocated to it(d) then all resources currently being held are preemptedThis question was posed to me in an online interview.My doubt is from Deadlock Prevention topic in division Deadlocks of Operating System

Answer»

Correct OPTION is (d) then all RESOURCES currently being HELD are preempted

The BEST I can explain: NONE.



Discussion

No Comment Found

Related InterviewSolutions