![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-white.png)
McqMate
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 |
View all MCQs in
Multi-core processorsNo comments yet