Suppose a system has 12 magnetic tape drives and at time t0, three processes are allotted tape drives out of their as given below:

 

Maximum Needs

Current Needs

p0

10

5

p1

4

2

p2

9

2

 

At time t0, the system is in safe state. Which of the following is safe sequence so that deadlock is avoided?

NOTE:

Current Need is currently allocated resource to a process

1
(p0, p1, p2)
2
(p1, p0, p2)
3
(p2, p1, p0)
4
(p0, p2, p1)

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation