The word "deadlock" is often used to describe a situation in which two or more things are conditions precedent to one another, with the result that none of them can come to pass. For example, in [[computer programming]], a deadlock occurs when two or more processes each wait for the other to finish, in which case they all hang. A deadlock is thus similar but not identical to a [[catch-22]]. | The word "deadlock" is often used to describe a situation in which two or more things are conditions precedent to one another, with the result that none of them can come to pass. For example, in [[computer programming]], a deadlock occurs when two or more processes each wait for the other to finish, in which case they all hang. A deadlock is thus similar but not identical to a [[catch-22]]. |