What is deadlock? C++

Q

What is deadlock? C++

✍: Guest

A

Deadlock is a situation when two or more processes prevent each other from running. Example: if T1 is holding x and waiting for y to be free and T2 holding y and waiting for x to be free deadlock happens.

2012-04-09, 3353👍, 0💬