Home » Operating Systems » Operating systems miscellaneous » Question

Operating systems miscellaneous

  1. Consider a system with 4 types of resources R1 (3 units), R2 (2 unit), R3 (3 unit), R4 (2 unit). A non-pre-emptive resource allocation policy is used. At any given instance, a request is not entertained if it cannot be completely satisfied. Three processes P1, P2, P3 request the resource as follows, if executed independently.

    Which one of the following statements is true, if all three processes run concurrently starting at time t = 0?
    1. All processes will finish without any deadlock
    2. P1 and P2 will be in deadlock
    3. P1 and P3 will be in deadlock
    4. All three processes will be in deadlock
Correct Option: A


The Bolded line show that at that time the requirement of resource is less than avaiability but it does not cause dead lock. All process finish without any dead lock



Your comments will be displayed only after manual approval.