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 _________.
β
Correct Answer: (C)
Deadlock
You must be Logged in to update hint/solution
Discussion
Question Analytics
299
Total Visits
2 y ago
Published
Mr. Dubey
Publisher
98%
Success Rate