207k views
1 vote
Fill in the missing step in the following deadlock situation. Two users from the local board of education are each running a program (P1 and P2), and both programs will eventually need two DVD drives to copy files from one disc to another. Only two DVD-R drives are available and they’re allocated on an "as requested" basis. Soon the following sequence transpires:______.1. P1 requests tape drive 1 and gets it.2. P1 requests tape drive 2 but it is blocked.3. P2 requests tape drive 1 but it is blocked. A. Pl requests drive 2. B. P2 requests drive 2 and gets it. C. P2 requests drive I but is blocked. D. Pl releases drive 1.

User TerryE
by
5.5k points

1 Answer

4 votes

Answer:

b. P2 requests drive 2 and gets it.

Step-by-step explanation:

Two users from the local board of education are each running a program (P1 and P2), and both programs will eventually need two DVD drives to copy files from one disc to another. Only two DVD-R drives are available and they’re allocated on an "as requested" basis. Soon the following sequence transpires: P2 requests drive 2 and gets it.

User FarshidABZ
by
5.8k points