Examveda

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

D. A situation where a thread blocks other threads from executing

Answer: Option C


Join The Discussion

Related Questions on Multi threading in C plus plus

What is multi-threading in C++?

A. A process that allows parallel execution of tasks

B. A process that allows a single thread to execute

C. A process that allows multiple processes to execute concurrently

D. A process that allows multiple threads to execute concurrently