What is a deadlock in concurrent programming?
-
A
A thread that runs indefinitely without yielding
-
B
A thread waiting for I/O that never completes
-
C
Two or more threads each waiting for a lock held by the other
-
D
A condition where CPU scheduling starves a low-priority thread