A deadlock is a situation in which two or more competing actions are each waiting for the other to finish, and thus neither ever does.