1

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 .

Correct Answer: . deadlock

Make the most of this question

This page focuses on one Multi-core Processors question from Engineering. After checking the answer, return to the topic list to practice more or run a timed set.

Multi-core Processors MCQ: 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 . | Extra Education