Deadlock A deadlock is when two or more threads are waiting on each other for a mutex meaning none of them will stop waiting.