1.

For Mutual exclusion to prevail in the system ____________(a) at least one resource must be held in a non sharable mode(b) the processor must be a uniprocessor rather than a multiprocessor(c) there must be at least one resource in a sharable mode(d) all of the mentionedThe question was asked during an interview.I would like to ask this question from Deadlock Prevention in portion Deadlocks of Operating System

Answer»

Correct option is (a) at least ONE resource must be held in a non SHARABLE mode

The explanation is: If another process requests that resource (non – shareable resource), the REQUESTING process must be DELAYED until the resource has been RELEASED.



Discussion

No Comment Found

Related InterviewSolutions