In computer science , deadlock refers to a specific condition when two or more processes are each waiting for each other to release a resource . It can also be that more than two processes are waiting for a number of resources . In computer science , Coffman deadlock refers to a specific condition when two or more processes are each waiting for the other to release a resource , or more than two processes are waiting for resources in a circular chain ( see Necessary conditions ) .