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 tape drives to copy files from one tape to another. Only two tape 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) ____
3) P1 requests tape drive 2 but is blocked.
4) P2 requests tape drive 1 but is blocked.
A) P1 requests tape drive 2.
B) P2 requests tape drive 2 and gets it.
C) P2 requests tape drive 1 but is blocked.
D) P1 releases tape drive 1.
Correct Answer:
Verified
Q6: In the dining philosophers problem,there are five
Q20: Once starvation has been detected,an algorithm can
Q28: Fill in the missing event that causes
Q30: Failure to lock database records before updating
Q31: Consider the case of a home construction
Q33: _ is the act of allowing only
Q35: _ showed how the four conditions can
Q36: _ allows a resource to be held
Q37: When recovering from deadlock, jobs close to
Q39: _ occurs when two processes do not
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents