← BYTES
Unix IPC·Starter·Ref: 15.1.68

What is a deadlock, in the simplest terms?

Have a question about this video? Mention reference 15.1.68 when you contact us.

a.A program running unusually fast
b.A normal part of every multi-threaded program that resolves itself automatically within a few seconds
c.A lock that has been left unlocked by mistake
d.A situation where two or more threads are each waiting on a resource the other holds, so none of them can ever proceed
A deadlock is a stuck state: thread A is waiting for a resource thread B holds, while thread B is simultaneously waiting for a resource thread A holds -- neither can make progress, and without outside intervention (or careful design to prevent it), this standoff never resolves on its own.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES15168#UnixIPC