Vidyalelo
C++ Programming · Q35

Multi threading in C++

Programming · C++ Programming · question 35

Q35

What is a deadlock in the context of multi-threading?

A.
A situation where threads execute out of order
B.
A situation where threads wait indefinitely for a signal
C.
A situation where two or more threads are waiting indefinitely for each other to release resources
Answer
D.
A situation where a thread blocks other threads from executing

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board