Q2 updated
Consider a system with the processes, resources set, resource instances and process states information given below: • P = {P1, P2, P3} • R = {R1, R2, R3} Resource Instances . One instance of resource type R1 . Two instances of resource type R2 . Three instance of resource type R3 Process States . . Process P1 holding resources R1 and R3, requesting for resource R2. Process P2 is requesting for resource R1 and R2, holding resource R3 Process P3 holding two R2 resource and R3, requesting for resource R1 . 2.1 Given the information above, draw the corresponding RAG. [13 Marks] 2.2 Write all the cycle(s) in the graph. [4 Marks) 2.3 Determine whether the system is in a safe state, unsafe state or deadlocked state and give reasons for your answer. [5 Marks) 2.4 Considering your response in 2.3, what possible solution will you recommend to address the problem (if any) identified in the RAG. [5 Marks]
Consider a system with the processes, resources set, resource instances and process states information given below: • P
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Consider a system with the processes, resources set, resource instances and process states information given below: • P
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!