Friday, February 5, 2010

Case 3: Deadlocks in Dedicated Device Allocation

Case 3: Deadlocks in Dedicated Device Allocation

          Deadlock can occur when there is a limited number of dedicated devices.

          E.g., printers, plotters or tape drives.

 Example:

1.            P1 requests tape drive 1 and gets it.

2.            P2 requests tape drive 2 and gets it.

3.            P1 requests tape drive 2 but is blocked.

4.            P2 requests tape drive 1 but is blocked.

No comments:

Post a Comment

Followers