Q.

Let S and Q be two semaphores initialized to 1, where P0 and P1 processes the following statements wait(S);wait(Q); ---; signal(S);signal(Q) and wait(Q); wait(S);---;signal(Q);signal(S); respectively. The above situation depicts a _________.

A. Livelock
B. Critical Section
C. Deadlock
D. Mutual Exclusion
Answer» C. Deadlock
4.5k
0
Do you find this helpful?
22

Discussion

No comments yet